pub enum UniformVariableType {
Texture,
RenderTexture,
I32,
F32,
Vector2f,
Vector3f,
Vector4f,
Matrix2f,
Matrix3f,
Matrix4f,
}
Expand description
Uniform variable type.
Variants§
Trait Implementations§
source§impl Clone for UniformVariableType
impl Clone for UniformVariableType
source§fn clone(&self) -> UniformVariableType
fn clone(&self) -> UniformVariableType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UniformVariableType
impl Debug for UniformVariableType
source§impl PartialEq<UniformVariableType> for UniformVariableType
impl PartialEq<UniformVariableType> for UniformVariableType
source§fn eq(&self, other: &UniformVariableType) -> bool
fn eq(&self, other: &UniformVariableType) -> bool
impl Copy for UniformVariableType
impl Eq for UniformVariableType
impl StructuralEq for UniformVariableType
impl StructuralPartialEq for UniformVariableType
Auto Trait Implementations§
impl RefUnwindSafe for UniformVariableType
impl Send for UniformVariableType
impl Sync for UniformVariableType
impl Unpin for UniformVariableType
impl UnwindSafe for UniformVariableType
Blanket Implementations§
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more