Enum ark_api_ffi::render_v1::MeshStreamSemantic
source · [−]#[repr(u32)]
pub enum MeshStreamSemantic {
Indices,
Positions,
Normals,
Colors,
TexCoords,
BoneIndicesWeights,
}Expand description
Mesh semantic to describe what a stream contains
Variants
Indices
Positions
Normals
Colors
TexCoords
BoneIndicesWeights
Trait Implementations
sourceimpl CheckedBitPattern for MeshStreamSemantic
impl CheckedBitPattern for MeshStreamSemantic
type Bits = u32
type Bits = u32
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during is_valid_bit_pattern. Read more
sourcefn is_valid_bit_pattern(bits: &Self::Bits) -> bool
fn is_valid_bit_pattern(bits: &Self::Bits) -> bool
If this function returns true, then it must be valid to reinterpret bits as &Self.
sourceimpl Clone for MeshStreamSemantic
impl Clone for MeshStreamSemantic
sourcefn clone(&self) -> MeshStreamSemantic
fn clone(&self) -> MeshStreamSemantic
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for MeshStreamSemantic
impl Debug for MeshStreamSemantic
sourceimpl From<MeshStreamSemantic> for u32
impl From<MeshStreamSemantic> for u32
sourcefn from(enum_value: MeshStreamSemantic) -> Self
fn from(enum_value: MeshStreamSemantic) -> Self
Converts to this type from the input type.
sourceimpl Hash for MeshStreamSemantic
impl Hash for MeshStreamSemantic
sourceimpl TryFrom<u32> for MeshStreamSemantic
impl TryFrom<u32> for MeshStreamSemantic
type Error = TryFromPrimitiveError<MeshStreamSemantic>
type Error = TryFromPrimitiveError<MeshStreamSemantic>
The type returned in the event of a conversion error.
sourcefn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>
fn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>
Performs the conversion.
sourceimpl TryFromPrimitive for MeshStreamSemantic
impl TryFromPrimitive for MeshStreamSemantic
type Primitive = u32
const NAME: &'static str = _
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for MeshStreamSemantic
impl Eq for MeshStreamSemantic
impl NoUninit for MeshStreamSemantic
impl StructuralEq for MeshStreamSemantic
impl StructuralPartialEq for MeshStreamSemantic
Auto Trait Implementations
impl RefUnwindSafe for MeshStreamSemantic
impl Send for MeshStreamSemantic
impl Sync for MeshStreamSemantic
impl Unpin for MeshStreamSemantic
impl UnwindSafe for MeshStreamSemantic
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more