Enum ella_tensor::slice::AxisSliceSpec
source · pub enum AxisSliceSpec {
NewAxis,
Index(isize),
Slice(Slice),
}Variants§
Trait Implementations§
source§impl Clone for AxisSliceSpec
impl Clone for AxisSliceSpec
source§fn clone(&self) -> AxisSliceSpec
fn clone(&self) -> AxisSliceSpec
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 Debug for AxisSliceSpec
impl Debug for AxisSliceSpec
source§impl From<NewAxis> for AxisSliceSpec
impl From<NewAxis> for AxisSliceSpec
source§impl From<i32> for AxisSliceSpec
impl From<i32> for AxisSliceSpec
source§impl From<i64> for AxisSliceSpec
impl From<i64> for AxisSliceSpec
source§impl From<isize> for AxisSliceSpec
impl From<isize> for AxisSliceSpec
source§impl From<u32> for AxisSliceSpec
impl From<u32> for AxisSliceSpec
source§impl From<u64> for AxisSliceSpec
impl From<u64> for AxisSliceSpec
source§impl From<usize> for AxisSliceSpec
impl From<usize> for AxisSliceSpec
source§impl PartialEq<AxisSliceSpec> for AxisSliceSpec
impl PartialEq<AxisSliceSpec> for AxisSliceSpec
source§fn eq(&self, other: &AxisSliceSpec) -> bool
fn eq(&self, other: &AxisSliceSpec) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for AxisSliceSpec
impl Eq for AxisSliceSpec
impl StructuralEq for AxisSliceSpec
impl StructuralPartialEq for AxisSliceSpec
Auto Trait Implementations§
impl RefUnwindSafe for AxisSliceSpec
impl Send for AxisSliceSpec
impl Sync for AxisSliceSpec
impl Unpin for AxisSliceSpec
impl UnwindSafe for AxisSliceSpec
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.