pub struct Mat<S: Scalar, const NROWS: usize, const NCOLS: usize>(/* private fields */);Implementations§
Source§impl<S: ScalarFloat> Mat<S, 3, 3>
impl<S: ScalarFloat> Mat<S, 3, 3>
pub fn rotate_xyz(rot_x: S, rot_y: S, rot_z: S) -> Self
Source§impl<S: ScalarFloat> Mat<S, 4, 4>
impl<S: ScalarFloat> Mat<S, 4, 4>
pub fn rotate_xyz_translate( rot_x: S, rot_y: S, rot_z: S, translate: Gec<S, 3>, ) -> Self
Trait Implementations§
Source§impl<S: Clone + Scalar, const NROWS: usize, const NCOLS: usize> Clone for Mat<S, NROWS, NCOLS>
impl<S: Clone + Scalar, const NROWS: usize, const NCOLS: usize> Clone for Mat<S, NROWS, NCOLS>
Source§impl<S: Debug + Scalar, const NROWS: usize, const NCOLS: usize> Debug for Mat<S, NROWS, NCOLS>
impl<S: Debug + Scalar, const NROWS: usize, const NCOLS: usize> Debug for Mat<S, NROWS, NCOLS>
Source§impl<S: Scalar, const NROWS: usize, const NCOLS: usize> From<[[S; NCOLS]; NROWS]> for Mat<S, NROWS, NCOLS>
impl<S: Scalar, const NROWS: usize, const NCOLS: usize> From<[[S; NCOLS]; NROWS]> for Mat<S, NROWS, NCOLS>
Source§fn from(value: [[S; NCOLS]; NROWS]) -> Self
fn from(value: [[S; NCOLS]; NROWS]) -> Self
Converts to this type from the input type.
Source§impl<S: Scalar, const NROWS: usize, const NCOLS: usize> Index<[usize; 2]> for Mat<S, NROWS, NCOLS>
impl<S: Scalar, const NROWS: usize, const NCOLS: usize> Index<[usize; 2]> for Mat<S, NROWS, NCOLS>
Source§impl<S: Scalar, const NROWS: usize, const NCOLS: usize> IndexMut<[usize; 2]> for Mat<S, NROWS, NCOLS>
impl<S: Scalar, const NROWS: usize, const NCOLS: usize> IndexMut<[usize; 2]> for Mat<S, NROWS, NCOLS>
Source§impl<S: Scalar, const DIM1: usize, const DIM2: usize, const DIM3: usize> Mul<&Mat<S, DIM2, DIM3>> for &Mat<S, DIM1, DIM2>
impl<S: Scalar, const DIM1: usize, const DIM2: usize, const DIM3: usize> Mul<&Mat<S, DIM2, DIM3>> for &Mat<S, DIM1, DIM2>
Source§impl<S: Scalar, const DIM1: usize, const DIM2: usize, const DIM3: usize> Mul<&Mat<S, DIM2, DIM3>> for Mat<S, DIM1, DIM2>
impl<S: Scalar, const DIM1: usize, const DIM2: usize, const DIM3: usize> Mul<&Mat<S, DIM2, DIM3>> for Mat<S, DIM1, DIM2>
Source§impl<S: Scalar, const NROWS: usize, const NCOLS: usize> Mul<Gec<S, NCOLS>> for &Mat<S, NROWS, NCOLS>
impl<S: Scalar, const NROWS: usize, const NCOLS: usize> Mul<Gec<S, NCOLS>> for &Mat<S, NROWS, NCOLS>
Source§impl<S: Scalar, const NROWS: usize, const NCOLS: usize> Mul<Gec<S, NCOLS>> for Mat<S, NROWS, NCOLS>
impl<S: Scalar, const NROWS: usize, const NCOLS: usize> Mul<Gec<S, NCOLS>> for Mat<S, NROWS, NCOLS>
Source§impl<S: Scalar, const DIM1: usize, const DIM2: usize, const DIM3: usize> Mul<Mat<S, DIM2, DIM3>> for &Mat<S, DIM1, DIM2>
impl<S: Scalar, const DIM1: usize, const DIM2: usize, const DIM3: usize> Mul<Mat<S, DIM2, DIM3>> for &Mat<S, DIM1, DIM2>
Auto Trait Implementations§
impl<S, const NROWS: usize, const NCOLS: usize> Freeze for Mat<S, NROWS, NCOLS>where
S: Freeze,
impl<S, const NROWS: usize, const NCOLS: usize> RefUnwindSafe for Mat<S, NROWS, NCOLS>where
S: RefUnwindSafe,
impl<S, const NROWS: usize, const NCOLS: usize> Send for Mat<S, NROWS, NCOLS>where
S: Send,
impl<S, const NROWS: usize, const NCOLS: usize> Sync for Mat<S, NROWS, NCOLS>where
S: Sync,
impl<S, const NROWS: usize, const NCOLS: usize> Unpin for Mat<S, NROWS, NCOLS>where
S: Unpin,
impl<S, const NROWS: usize, const NCOLS: usize> UnwindSafe for Mat<S, NROWS, NCOLS>where
S: UnwindSafe,
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