#[repr(C, align(16))]pub struct ShaderMatrix4(pub [f32; 16]);Expand description
The ShaderMatrix4 struct provides the 4-by-4 matrix layout that graphics backends expect from CPU data.
Tuple Fields§
§0: [f32; 16]Trait Implementations§
Source§impl Clone for ShaderMatrix4
impl Clone for ShaderMatrix4
impl Copy for ShaderMatrix4
Source§impl Debug for ShaderMatrix4
impl Debug for ShaderMatrix4
Source§impl Default for ShaderMatrix4
impl Default for ShaderMatrix4
Source§impl PartialEq for ShaderMatrix4
impl PartialEq for ShaderMatrix4
impl StructuralPartialEq for ShaderMatrix4
Auto Trait Implementations§
impl Freeze for ShaderMatrix4
impl RefUnwindSafe for ShaderMatrix4
impl Send for ShaderMatrix4
impl Sync for ShaderMatrix4
impl Unpin for ShaderMatrix4
impl UnsafeUnpin for ShaderMatrix4
impl UnwindSafe for ShaderMatrix4
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