Struct ella_tensor::row::TensorRowView
source · pub struct TensorRowView<T: TensorValue, S: Shape>(_);Trait Implementations§
source§impl<T: Clone + TensorValue, S: Clone + Shape> Clone for TensorRowView<T, S>where
S::Larger: Clone,
impl<T: Clone + TensorValue, S: Clone + Shape> Clone for TensorRowView<T, S>where S::Larger: Clone,
source§fn clone(&self) -> TensorRowView<T, S>
fn clone(&self) -> TensorRowView<T, S>
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<T: Debug + TensorValue, S: Debug + Shape> Debug for TensorRowView<T, S>where
S::Larger: Debug,
impl<T: Debug + TensorValue, S: Debug + Shape> Debug for TensorRowView<T, S>where S::Larger: Debug,
source§impl<T, S> IntoIterator for TensorRowView<T, S>where
T: TensorValue,
S: Shape,
impl<T, S> IntoIterator for TensorRowView<T, S>where T: TensorValue, S: Shape,
source§impl<T, S> RowFormatView<Tensor<T, S>> for TensorRowView<T, S>where
T: TensorValue,
S: Shape,
impl<T, S> RowFormatView<Tensor<T, S>> for TensorRowView<T, S>where T: TensorValue, S: Shape,
source§unsafe fn row_unchecked(&self, i: usize) -> Tensor<T, S>
unsafe fn row_unchecked(&self, i: usize) -> Tensor<T, S>
Returns the
ith row without bounds checking. Read moresource§fn iter(&self) -> RowViewIter<R, Self>
fn iter(&self) -> RowViewIter<R, Self>
Returns an iterator over the rows in this view.
Auto Trait Implementations§
impl<T, S> RefUnwindSafe for TensorRowView<T, S>where T: RefUnwindSafe, <T as TensorValue>::Array: RefUnwindSafe, <S as Shape>::Larger: RefUnwindSafe,
impl<T, S> Send for TensorRowView<T, S>
impl<T, S> Sync for TensorRowView<T, S>
impl<T, S> Unpin for TensorRowView<T, S>where T: Unpin, <S as Shape>::Larger: Unpin,
impl<T, S> UnwindSafe for TensorRowView<T, S>where T: UnwindSafe, <T as TensorValue>::Array: RefUnwindSafe, <S as Shape>::Larger: 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