Struct ark_api_ffi::render_v1::MeshStreamLayout
source · [−]#[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: MeshStreamSemanticcomponent_format: MeshComponentFormatcomponent_count: u32buffer_ptr: u32buffer_size: u32Trait Implementations
sourceimpl CheckedBitPattern for MeshStreamLayout
impl CheckedBitPattern for MeshStreamLayout
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. Read more
sourcefn 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.
sourceimpl Clone for MeshStreamLayout
impl Clone for MeshStreamLayout
sourcefn clone(&self) -> MeshStreamLayout
fn clone(&self) -> MeshStreamLayout
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 MeshStreamLayout
impl Debug for MeshStreamLayout
sourceimpl PartialEq<MeshStreamLayout> for MeshStreamLayout
impl PartialEq<MeshStreamLayout> for MeshStreamLayout
sourcefn eq(&self, other: &MeshStreamLayout) -> bool
fn eq(&self, other: &MeshStreamLayout) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &MeshStreamLayout) -> bool
fn ne(&self, other: &MeshStreamLayout) -> bool
This method tests for !=.
impl Copy for MeshStreamLayout
impl Eq for MeshStreamLayout
impl NoUninit for MeshStreamLayout
impl StructuralEq for MeshStreamLayout
impl StructuralPartialEq for MeshStreamLayout
Auto Trait Implementations
impl RefUnwindSafe for MeshStreamLayout
impl Send for MeshStreamLayout
impl Sync for MeshStreamLayout
impl Unpin for MeshStreamLayout
impl UnwindSafe for MeshStreamLayout
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