Struct ella_tensor::shape::IndexUnchecked
source · pub struct IndexUnchecked<'a, T>(pub &'a [T]);Tuple Fields§
§0: &'a [T]Trait Implementations§
source§impl<'a, T> Clone for IndexUnchecked<'a, T>where
T: Clone,
impl<'a, T> Clone for IndexUnchecked<'a, T>where T: Clone,
source§fn clone(&self) -> IndexUnchecked<'a, T>
fn clone(&self) -> IndexUnchecked<'a, T>
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, T> Debug for IndexUnchecked<'a, T>where
T: Debug,
impl<'a, T> Debug for IndexUnchecked<'a, T>where T: Debug,
source§impl<'a, T, S> Indexer<S> for IndexUnchecked<'a, T>where
T: IndexValue,
S: Shape,
impl<'a, T, S> Indexer<S> for IndexUnchecked<'a, T>where T: IndexValue, S: Shape,
impl<'a, T> Copy for IndexUnchecked<'a, T>where T: Copy,
Auto Trait Implementations§
impl<'a, T> RefUnwindSafe for IndexUnchecked<'a, T>where T: RefUnwindSafe,
impl<'a, T> Send for IndexUnchecked<'a, T>where T: Sync,
impl<'a, T> Sync for IndexUnchecked<'a, T>where T: Sync,
impl<'a, T> Unpin for IndexUnchecked<'a, T>
impl<'a, T> UnwindSafe for IndexUnchecked<'a, T>where T: 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