pub enum Dimensionality {
Dim1,
Dim2,
Dim3,
}Expand description
Spatial dimensionality of an operation
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for Dimensionality
impl Clone for Dimensionality
Source§fn clone(&self) -> Dimensionality
fn clone(&self) -> Dimensionality
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 Dimensionality
impl Debug for Dimensionality
Source§impl Hash for Dimensionality
impl Hash for Dimensionality
Source§impl Ord for Dimensionality
impl Ord for Dimensionality
Source§fn cmp(&self, other: &Dimensionality) -> Ordering
fn cmp(&self, other: &Dimensionality) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Dimensionality
impl PartialEq for Dimensionality
Source§fn eq(&self, other: &Dimensionality) -> bool
fn eq(&self, other: &Dimensionality) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Dimensionality
impl PartialOrd for Dimensionality
impl Copy for Dimensionality
impl Eq for Dimensionality
impl StructuralPartialEq for Dimensionality
Auto Trait Implementations§
impl Freeze for Dimensionality
impl RefUnwindSafe for Dimensionality
impl Send for Dimensionality
impl Sync for Dimensionality
impl Unpin for Dimensionality
impl UnsafeUnpin for Dimensionality
impl UnwindSafe for Dimensionality
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<C> CloneExpand for Cwhere
C: Clone,
impl<C> CloneExpand for Cwhere
C: Clone,
fn __expand_clone_method(&self, _scope: &mut Scope) -> C
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<T> CompilationArg for T
impl<T> CompilationArg for T
Source§fn dynamic_cast<Arg>(&self) -> Argwhere
Arg: CompilationArg,
fn dynamic_cast<Arg>(&self) -> Argwhere
Arg: CompilationArg,
Compilation args should be the same even with different element types. However, it isn’t
possible to enforce it with the type system. So, we make the compilation args serializable
and dynamically cast them. Read more
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.