pub struct Cardinality(/* private fields */);Expand description
The cardinality of the NStack.
Trait Implementations§
Source§impl<T> Annotation<NStack<T, Cardinality>> for Cardinality
impl<T> Annotation<NStack<T, Cardinality>> for Cardinality
Source§fn from_child(stack: &NStack<T, Cardinality>) -> Self
fn from_child(stack: &NStack<T, Cardinality>) -> Self
Compute the annotation from the child.
Source§impl Clone for Cardinality
impl Clone for Cardinality
Source§fn clone(&self) -> Cardinality
fn clone(&self) -> Cardinality
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 Cardinality
impl Debug for Cardinality
Source§impl Default for Cardinality
impl Default for Cardinality
Source§fn default() -> Cardinality
fn default() -> Cardinality
Returns the “default value” for a type. Read more
Source§impl Deref for Cardinality
impl Deref for Cardinality
Source§impl From<u64> for Cardinality
impl From<u64> for Cardinality
Source§impl Ord for Cardinality
impl Ord for Cardinality
Source§fn cmp(&self, other: &Cardinality) -> Ordering
fn cmp(&self, other: &Cardinality) -> 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<u64> for Cardinality
impl PartialEq<u64> for Cardinality
Source§impl PartialEq for Cardinality
impl PartialEq for Cardinality
Source§fn eq(&self, other: &Cardinality) -> bool
fn eq(&self, other: &Cardinality) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Cardinality
impl PartialOrd for Cardinality
impl Copy for Cardinality
impl Eq for Cardinality
impl StructuralPartialEq for Cardinality
Auto Trait Implementations§
impl Freeze for Cardinality
impl RefUnwindSafe for Cardinality
impl Send for Cardinality
impl Sync for Cardinality
impl Unpin for Cardinality
impl UnsafeUnpin for Cardinality
impl UnwindSafe for Cardinality
Blanket Implementations§
Source§impl<'a, C, A> Annotation<&'a C> for Awhere
A: Annotation<C>,
impl<'a, C, A> Annotation<&'a C> for Awhere
A: Annotation<C>,
Source§fn from_child(t: &&'a C) -> A
fn from_child(t: &&'a C) -> A
Compute the annotation from the child.
Source§impl<'a, C, A> Annotation<&'a mut C> for Awhere
A: Annotation<C>,
impl<'a, C, A> Annotation<&'a mut C> for Awhere
A: Annotation<C>,
Source§fn from_child(t: &&'a mut C) -> A
fn from_child(t: &&'a mut C) -> A
Compute the annotation from the child.
Source§impl<C, A> Annotation<Arc<C>> for Awhere
A: Annotation<C>,
impl<C, A> Annotation<Arc<C>> for Awhere
A: Annotation<C>,
Source§fn from_child(t: &Arc<C>) -> A
fn from_child(t: &Arc<C>) -> A
Compute the annotation from the child.
Source§impl<C, A> Annotation<Box<C>> for Awhere
A: Annotation<C>,
impl<C, A> Annotation<Box<C>> for Awhere
A: Annotation<C>,
Source§fn from_child(t: &Box<C>) -> A
fn from_child(t: &Box<C>) -> A
Compute the annotation from the child.
Source§impl<C, A> Annotation<Rc<C>> for Awhere
A: Annotation<C>,
impl<C, A> Annotation<Rc<C>> for Awhere
A: Annotation<C>,
Source§fn from_child(t: &Rc<C>) -> A
fn from_child(t: &Rc<C>) -> A
Compute the annotation from the child.
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