pub struct Matrix3x3 {
pub columns: [[f64; 3]; 3],
}
Expand description
A 3x3 matrix. Use matrix[(0,2)]
to get the third item in the first column - indices are
zero-based.
Fields§
§columns: [[f64; 3]; 3]
Each column contains a row with three f64
s.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Matrix3x3
Auto Trait Implementations§
impl Freeze for Matrix3x3
impl RefUnwindSafe for Matrix3x3
impl Send for Matrix3x3
impl Sync for Matrix3x3
impl Unpin for Matrix3x3
impl UnwindSafe for Matrix3x3
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
)