pub struct TensorSlice { /* private fields */ }Expand description
A validated contiguous slice of a source tensor.
Implementations§
Source§impl TensorSlice
impl TensorSlice
Trait Implementations§
Source§impl Clone for TensorSlice
impl Clone for TensorSlice
Source§fn clone(&self) -> TensorSlice
fn clone(&self) -> TensorSlice
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 moreSource§impl Debug for TensorSlice
impl Debug for TensorSlice
impl Eq for TensorSlice
Source§impl PartialEq for TensorSlice
impl PartialEq for TensorSlice
impl StructuralPartialEq for TensorSlice
Auto Trait Implementations§
impl Freeze for TensorSlice
impl RefUnwindSafe for TensorSlice
impl Send for TensorSlice
impl Sync for TensorSlice
impl Unpin for TensorSlice
impl UnsafeUnpin for TensorSlice
impl UnwindSafe for TensorSlice
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