pub enum DeclUsage {
Show 15 variants
Position,
BlendWeight,
BlendIndices,
Normal,
PSize,
TexCoord,
Tangent,
Binormal,
TessFactor,
PositionT,
Color,
Fog,
Depth,
Sample,
Unknown(u8),
}Variants§
Position
BlendWeight
BlendIndices
Normal
PSize
TexCoord
Tangent
Binormal
TessFactor
PositionT
Color
Fog
Depth
Sample
Unknown(u8)
Implementations§
Source§impl DeclUsage
impl DeclUsage
pub fn from_decl_token(token: u32) -> Self
pub fn semantic_prefix(self) -> &'static str
Trait Implementations§
impl Copy for DeclUsage
impl Eq for DeclUsage
impl StructuralPartialEq for DeclUsage
Auto Trait Implementations§
impl Freeze for DeclUsage
impl RefUnwindSafe for DeclUsage
impl Send for DeclUsage
impl Sync for DeclUsage
impl Unpin for DeclUsage
impl UnsafeUnpin for DeclUsage
impl UnwindSafe for DeclUsage
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