Struct spirv_cross_sys::MslVertexAttribute
source · #[non_exhaustive]#[repr(C)]pub struct MslVertexAttribute {
pub location: u32,
pub msl_buffer: u32,
pub msl_offset: u32,
pub msl_stride: u32,
pub per_instance: bool,
pub format: MslVertexFormat,
pub builtin: SpvBuiltIn,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.location: u32§msl_buffer: u32§msl_offset: u32§msl_stride: u32§per_instance: bool§format: MslVertexFormat§builtin: SpvBuiltInTrait Implementations§
Auto Trait Implementations§
impl Freeze for MslVertexAttribute
impl RefUnwindSafe for MslVertexAttribute
impl Send for MslVertexAttribute
impl Sync for MslVertexAttribute
impl Unpin for MslVertexAttribute
impl UnwindSafe for MslVertexAttribute
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