#[repr(transparent)]pub struct Model(pub [[f32; 4]; 4]);
Expand description
Full vertex transformation attribute. Typically provided on per-instance basis. It takes 4 attribute locations.
Tuple Fields§
§0: [[f32; 4]; 4]
Trait Implementations§
Source§impl AsVertex for Model
impl AsVertex for Model
Source§fn vertex() -> VertexFormat
fn vertex() -> VertexFormat
List of all attributes formats with name and offset.
Source§impl PartialOrd for Model
impl PartialOrd for Model
impl Copy for Model
impl StructuralPartialEq for Model
Auto Trait Implementations§
impl Freeze for Model
impl RefUnwindSafe for Model
impl Send for Model
impl Sync for Model
impl Unpin for Model
impl UnwindSafe for Model
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)