pub struct MatrixType<'a, V: Num, const RC: usize, const C: usize> { /* private fields */ }Expand description
A structure that supports the Debug and Display traits, borrowing
a matrix; this permits a relatively simple format of a matrix
through using the [new] constructor of the type
§Example
use geo_nd::matrix::{identity2, MatrixType};
assert_eq!( format!("{}", MatrixType::<f32,4,2>::new(&identity2())), "[1,0 0,1]" );Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, V, const RC: usize, const C: usize> Freeze for MatrixType<'a, V, RC, C>
impl<'a, V, const RC: usize, const C: usize> RefUnwindSafe for MatrixType<'a, V, RC, C>where
V: RefUnwindSafe,
impl<'a, V, const RC: usize, const C: usize> Send for MatrixType<'a, V, RC, C>where
V: Sync,
impl<'a, V, const RC: usize, const C: usize> Sync for MatrixType<'a, V, RC, C>where
V: Sync,
impl<'a, V, const RC: usize, const C: usize> Unpin for MatrixType<'a, V, RC, C>
impl<'a, V, const RC: usize, const C: usize> UnwindSafe for MatrixType<'a, V, RC, C>where
V: RefUnwindSafe,
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