Enum rin::gl::program::Uniform [−][src]
pub enum Uniform { Name(String, UniformValue), Location(u32, UniformValue), }
A uniform name or location, value pair
Variants
Name(String, UniformValue)
Location(u32, UniformValue)
Implementations
impl Uniform
[src]
impl Uniform
[src]pub fn to_location(&self, program: &Program) -> Option<Uniform>
[src]
Trait Implementations
impl StructuralPartialEq for Uniform
[src]
Auto Trait Implementations
impl RefUnwindSafe for Uniform
impl Send for Uniform
impl Sync for Uniform
impl Unpin for Uniform
impl UnwindSafe for Uniform
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]