pub struct Dyn(pub SmallVec<[usize; 4]>);
Tuple Fields§
§0: SmallVec<[usize; 4]>
Implementations§
Trait Implementations§
Source§impl<__AsMutT: ?Sized> AsMut<__AsMutT> for Dyn
impl<__AsMutT: ?Sized> AsMut<__AsMutT> for Dyn
Source§fn as_mut(&mut self) -> &mut __AsMutT
fn as_mut(&mut self) -> &mut __AsMutT
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl<'de> Deserialize<'de> for Dyn
impl<'de> Deserialize<'de> for Dyn
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<A, B> Indexer<Dyn> for (A, B)where
A: IndexValue,
B: IndexValue,
impl<A, B> Indexer<Dyn> for (A, B)where
A: IndexValue,
B: IndexValue,
Source§impl<A, B, C, D> Indexer<Dyn> for (A, B, C, D)
impl<A, B, C, D> Indexer<Dyn> for (A, B, C, D)
Source§impl<A, B, C, D, E> Indexer<Dyn> for (A, B, C, D, E)
impl<A, B, C, D, E> Indexer<Dyn> for (A, B, C, D, E)
Source§impl<A, B, C, D, E, F> Indexer<Dyn> for (A, B, C, D, E, F)
impl<A, B, C, D, E, F> Indexer<Dyn> for (A, B, C, D, E, F)
Source§impl<'__deriveMoreLifetime> IntoIterator for &'__deriveMoreLifetime Dyn
impl<'__deriveMoreLifetime> IntoIterator for &'__deriveMoreLifetime Dyn
Source§impl<'__deriveMoreLifetime> IntoIterator for &'__deriveMoreLifetime mut Dyn
impl<'__deriveMoreLifetime> IntoIterator for &'__deriveMoreLifetime mut Dyn
Source§impl IntoIterator for Dyn
impl IntoIterator for Dyn
Source§impl RemoveAxis for Dyn
impl RemoveAxis for Dyn
fn remove_axis(&self, axis: Axis) -> Self::Smaller
Source§impl Shape for Dyn
impl Shape for Dyn
const NDIM: Option<usize> = None
type Smaller = Dyn
type Larger = Dyn
fn ndim(&self) -> usize
fn size(&self) -> usize
fn zeros(ndim: usize) -> Self
fn slice(&self) -> &[usize]
fn slice_mut(&mut self) -> &mut [usize]
fn as_dyn(&self) -> Dyn
fn broadcast<In, Out>(&self, other: &In) -> Result<Out>
fn indices(&self) -> ShapeIndexIter<Self> ⓘ
fn axis(&self, axis: Axis) -> usize
impl Eq for Dyn
impl StructuralPartialEq for Dyn
Auto Trait Implementations§
impl Freeze for Dyn
impl RefUnwindSafe for Dyn
impl Send for Dyn
impl Sync for Dyn
impl Unpin for Dyn
impl UnwindSafe for Dyn
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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