pub struct Matrix<const R: usize, const C: usize, const N: usize> {
pub data: [f32; N],
}Expand description
Compile-time fixed-size 2D matrix structure.
Fields§
§data: [f32; N]Implementations§
Trait Implementations§
impl<const R: usize, const C: usize, const N: usize> Copy for Matrix<R, C, N>
impl<const R: usize, const C: usize, const N: usize> StructuralPartialEq for Matrix<R, C, N>
Auto Trait Implementations§
impl<const R: usize, const C: usize, const N: usize> Freeze for Matrix<R, C, N>
impl<const R: usize, const C: usize, const N: usize> RefUnwindSafe for Matrix<R, C, N>
impl<const R: usize, const C: usize, const N: usize> Send for Matrix<R, C, N>
impl<const R: usize, const C: usize, const N: usize> Sync for Matrix<R, C, N>
impl<const R: usize, const C: usize, const N: usize> Unpin for Matrix<R, C, N>
impl<const R: usize, const C: usize, const N: usize> UnsafeUnpin for Matrix<R, C, N>
impl<const R: usize, const C: usize, const N: usize> UnwindSafe for Matrix<R, C, N>
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