#[repr(C)]pub struct MeshStreamLayout {
pub semantic: MeshStreamSemantic,
pub component_format: MeshComponentFormat,
pub component_count: u32,
pub buffer_ptr: u32,
pub buffer_size: u32,
}
Fields§
§semantic: MeshStreamSemantic
§component_format: MeshComponentFormat
§component_count: u32
§buffer_ptr: u32
§buffer_size: u32
Trait Implementations§
Source§impl CheckedBitPattern for MeshStreamLayout
impl CheckedBitPattern for MeshStreamLayout
Source§type Bits = MeshStreamLayoutBits
type Bits = MeshStreamLayoutBits
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: &MeshStreamLayoutBits) -> bool
fn is_valid_bit_pattern(bits: &MeshStreamLayoutBits) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.Source§impl Clone for MeshStreamLayout
impl Clone for MeshStreamLayout
Source§fn clone(&self) -> MeshStreamLayout
fn clone(&self) -> MeshStreamLayout
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 MeshStreamLayout
impl Debug for MeshStreamLayout
Source§impl PartialEq for MeshStreamLayout
impl PartialEq for MeshStreamLayout
impl Copy for MeshStreamLayout
impl Eq for MeshStreamLayout
impl NoUninit for MeshStreamLayout
impl StructuralPartialEq for MeshStreamLayout
Auto Trait Implementations§
impl Freeze for MeshStreamLayout
impl RefUnwindSafe for MeshStreamLayout
impl Send for MeshStreamLayout
impl Sync for MeshStreamLayout
impl Unpin for MeshStreamLayout
impl UnwindSafe for MeshStreamLayout
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