#[repr(u32)]pub enum MeshPrimitiveTopology {
TriangleList = 2,
}
Expand description
Mesh primitive topology
Variants§
TriangleList = 2
Triangle list
Trait Implementations§
Source§impl CheckedBitPattern for MeshPrimitiveTopology
impl CheckedBitPattern for MeshPrimitiveTopology
Source§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
.Source§fn 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
.Source§impl Clone for MeshPrimitiveTopology
impl Clone for MeshPrimitiveTopology
Source§fn clone(&self) -> MeshPrimitiveTopology
fn clone(&self) -> MeshPrimitiveTopology
Returns a duplicate 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 MeshPrimitiveTopology
impl Debug for MeshPrimitiveTopology
Source§impl From<MeshPrimitiveTopology> for u32
impl From<MeshPrimitiveTopology> for u32
Source§fn from(enum_value: MeshPrimitiveTopology) -> Self
fn from(enum_value: MeshPrimitiveTopology) -> Self
Converts to this type from the input type.
Source§impl Hash for MeshPrimitiveTopology
impl Hash for MeshPrimitiveTopology
Source§impl PartialEq for MeshPrimitiveTopology
impl PartialEq for MeshPrimitiveTopology
Source§impl TryFrom<u32> for MeshPrimitiveTopology
impl TryFrom<u32> for MeshPrimitiveTopology
Source§type Error = TryFromPrimitiveError<MeshPrimitiveTopology>
type Error = TryFromPrimitiveError<MeshPrimitiveTopology>
The type returned in the event of a conversion error.
impl Copy for MeshPrimitiveTopology
impl Eq for MeshPrimitiveTopology
impl NoUninit for MeshPrimitiveTopology
impl StructuralPartialEq for MeshPrimitiveTopology
Auto Trait Implementations§
impl Freeze for MeshPrimitiveTopology
impl RefUnwindSafe for MeshPrimitiveTopology
impl Send for MeshPrimitiveTopology
impl Sync for MeshPrimitiveTopology
impl Unpin for MeshPrimitiveTopology
impl UnwindSafe for MeshPrimitiveTopology
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