#[repr(C)]pub struct MeshRaw {
pub primitive_topology: MeshPrimitiveTopology,
pub streams_ptr: u32,
pub num_streams: u32,
}👎Deprecated: Use
MeshRawWithNameFields§
§primitive_topology: MeshPrimitiveTopology👎Deprecated: Use
§MeshRawWithNamestreams_ptr: u32👎Deprecated: Use
§MeshRawWithNamenum_streams: u32👎Deprecated: Use
MeshRawWithNameTrait Implementations§
Source§impl CheckedBitPattern for MeshRaw
impl CheckedBitPattern for MeshRaw
Source§type Bits = MeshRawBits
type Bits = MeshRawBits
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: &MeshRawBits) -> bool
fn is_valid_bit_pattern(bits: &MeshRawBits) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.impl Copy for MeshRaw
impl NoUninit for MeshRaw
Auto Trait Implementations§
impl Freeze for MeshRaw
impl RefUnwindSafe for MeshRaw
impl Send for MeshRaw
impl Sync for MeshRaw
impl Unpin for MeshRaw
impl UnwindSafe for MeshRaw
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