pub struct Mat2 {
pub m: [[f32; 2]; 2],
}Expand description
A 2×2 matrix stored in row-major order: [[row0col0, row0col1], [row1col0, row1col1]].
Fields§
§m: [[f32; 2]; 2]Trait Implementations§
impl Copy for Mat2
impl StructuralPartialEq for Mat2
Auto Trait Implementations§
impl Freeze for Mat2
impl RefUnwindSafe for Mat2
impl Send for Mat2
impl Sync for Mat2
impl Unpin for Mat2
impl UnsafeUnpin for Mat2
impl UnwindSafe for Mat2
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