pub enum IdxLeqD0 {
IdxD0([usize; 0]),
}
Expand description
Indices that are less than or equal to dimension 0.
Variants§
Trait Implementations§
Source§impl CardIdx<D1> for IdxLeqD0
impl CardIdx<D1> for IdxLeqD0
Source§fn is_d0(&self) -> bool
fn is_d0(&self) -> bool
Returns whether or not the index is of dimension 0; i.e., has type
[usize; 0]
.Source§fn card<T>(self, vec: &impl NVecCore<D1, T>) -> usize
fn card<T>(self, vec: &impl NVecCore<D1, T>) -> usize
Returns the cardinality of the given
vec
at this index.Source§fn card_equality<T>(
a: &impl NVecCore<D1, T>,
b: &impl NVecCore<D1, T>,
) -> CardEquality<D1>
fn card_equality<T>( a: &impl NVecCore<D1, T>, b: &impl NVecCore<D1, T>, ) -> CardEquality<D1>
Returns the cardinality equality of the given vectors
a
and b
at this index.impl StructuralPartialEq for IdxLeqD0
Auto Trait Implementations§
impl Freeze for IdxLeqD0
impl RefUnwindSafe for IdxLeqD0
impl Send for IdxLeqD0
impl Sync for IdxLeqD0
impl Unpin for IdxLeqD0
impl UnwindSafe for IdxLeqD0
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