pub struct TensorRowView<T: TensorValue, S: Shape>(/* private fields */);
Trait Implementations§
Source§impl<T: Clone + TensorValue, S: Clone + Shape> Clone for TensorRowView<T, S>
impl<T: Clone + TensorValue, S: Clone + Shape> Clone for TensorRowView<T, S>
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>
impl<T: Debug + TensorValue, S: Debug + Shape> Debug for TensorRowView<T, S>
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
i
th 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> Freeze for TensorRowView<T, S>
impl<T, S> RefUnwindSafe for TensorRowView<T, S>where
<S as Shape>::Larger: RefUnwindSafe,
T: RefUnwindSafe,
<T as TensorValue>::Array: 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>
impl<T, S> UnwindSafe for TensorRowView<T, S>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more