Struct MatrixView
pub struct MatrixView<'a> {
pub data: &'a [f32],
pub rows: usize,
pub cols: usize,
}Expand description
Row-major f32 matrix view (borrowed).
Fields§
§data: &'a [f32]§rows: usize§cols: usizeImplementations§
§impl MatrixView<'_>
impl MatrixView<'_>
Trait Implementations§
§impl<'a> Clone for MatrixView<'a>
impl<'a> Clone for MatrixView<'a>
§fn clone(&self) -> MatrixView<'a>
fn clone(&self) -> MatrixView<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for MatrixView<'a>
Auto Trait Implementations§
impl<'a> Freeze for MatrixView<'a>
impl<'a> RefUnwindSafe for MatrixView<'a>
impl<'a> Send for MatrixView<'a>
impl<'a> Sync for MatrixView<'a>
impl<'a> Unpin for MatrixView<'a>
impl<'a> UnsafeUnpin for MatrixView<'a>
impl<'a> UnwindSafe for MatrixView<'a>
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