#[repr(u32)]pub enum ShaderAttributeDataType {
SHADER_ATTRIB_FLOAT = 0,
SHADER_ATTRIB_VEC2 = 1,
SHADER_ATTRIB_VEC3 = 2,
SHADER_ATTRIB_VEC4 = 3,
}
Variants§
Trait Implementations§
source§impl Clone for ShaderAttributeDataType
impl Clone for ShaderAttributeDataType
source§fn clone(&self) -> ShaderAttributeDataType
fn clone(&self) -> ShaderAttributeDataType
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 ShaderAttributeDataType
impl Debug for ShaderAttributeDataType
source§impl Hash for ShaderAttributeDataType
impl Hash for ShaderAttributeDataType
source§impl PartialEq for ShaderAttributeDataType
impl PartialEq for ShaderAttributeDataType
source§fn eq(&self, other: &ShaderAttributeDataType) -> bool
fn eq(&self, other: &ShaderAttributeDataType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ShaderAttributeDataType
impl Eq for ShaderAttributeDataType
impl StructuralPartialEq for ShaderAttributeDataType
Auto Trait Implementations§
impl Freeze for ShaderAttributeDataType
impl RefUnwindSafe for ShaderAttributeDataType
impl Send for ShaderAttributeDataType
impl Sync for ShaderAttributeDataType
impl Unpin for ShaderAttributeDataType
impl UnwindSafe for ShaderAttributeDataType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more