Struct math::tensor::matrix_view::MatrixView
source · pub struct MatrixView<'a, Dtype> { /* private fields */ }
Trait Implementations§
source§impl<'a, Dtype: Clone> Clone for MatrixView<'a, Dtype>
impl<'a, Dtype: Clone> Clone for MatrixView<'a, Dtype>
source§fn clone(&self) -> MatrixView<'a, Dtype>
fn clone(&self) -> MatrixView<'a, Dtype>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a, Dtype: Debug> Debug for MatrixView<'a, Dtype>
impl<'a, Dtype: Debug> Debug for MatrixView<'a, Dtype>
source§impl<'a, Dtype> HasTensorData<Dtype> for MatrixView<'a, Dtype>
impl<'a, Dtype> HasTensorData<Dtype> for MatrixView<'a, Dtype>
fn data(&self) -> &TensorStorage<Dtype>
source§impl<'a, Dtype> HasTensorShape for MatrixView<'a, Dtype>
impl<'a, Dtype> HasTensorShape for MatrixView<'a, Dtype>
fn shape(&self) -> &TensorShape
source§impl<'a, Dtype> MatrixTrait<Dtype> for MatrixView<'a, Dtype>
impl<'a, Dtype> MatrixTrait<Dtype> for MatrixView<'a, Dtype>
source§impl<'a, Dtype: PartialEq> PartialEq for MatrixView<'a, Dtype>
impl<'a, Dtype: PartialEq> PartialEq for MatrixView<'a, Dtype>
source§fn eq(&self, other: &MatrixView<'a, Dtype>) -> bool
fn eq(&self, other: &MatrixView<'a, Dtype>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a, Dtype: Eq> Eq for MatrixView<'a, Dtype>
impl<'a, Dtype> StructuralEq for MatrixView<'a, Dtype>
impl<'a, Dtype> StructuralPartialEq for MatrixView<'a, Dtype>
Auto Trait Implementations§
impl<'a, Dtype> RefUnwindSafe for MatrixView<'a, Dtype>where
Dtype: RefUnwindSafe,
impl<'a, Dtype> Send for MatrixView<'a, Dtype>where
Dtype: Sync,
impl<'a, Dtype> Sync for MatrixView<'a, Dtype>where
Dtype: Sync,
impl<'a, Dtype> Unpin for MatrixView<'a, Dtype>
impl<'a, Dtype> UnwindSafe for MatrixView<'a, Dtype>where
Dtype: 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