Struct microkelvin::Cardinality
source · [−]pub struct Cardinality(_);
Expand description
The cardinality of a compound collection
Trait Implementations
sourceimpl<L> Annotation<L> for Cardinality
impl<L> Annotation<L> for Cardinality
sourceimpl Canon for Cardinality
impl Canon for Cardinality
sourceimpl Clone for Cardinality
impl Clone for Cardinality
sourcefn clone(&self) -> Cardinality
fn clone(&self) -> Cardinality
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<A> Combine<A> for Cardinality where
A: Borrow<Self> + Canon,
impl<A> Combine<A> for Cardinality where
A: Borrow<Self> + Canon,
sourceimpl Debug for Cardinality
impl Debug for Cardinality
sourceimpl Default for Cardinality
impl Default for Cardinality
sourcefn default() -> Cardinality
fn default() -> Cardinality
Returns the “default value” for a type. Read more
sourceimpl<'a> From<&'a Cardinality> for u64
impl<'a> From<&'a Cardinality> for u64
sourcefn from(c: &'a Cardinality) -> Self
fn from(c: &'a Cardinality) -> Self
Performs the conversion.
sourceimpl From<Cardinality> for u64
impl From<Cardinality> for u64
sourcefn from(c: Cardinality) -> Self
fn from(c: Cardinality) -> Self
Performs the conversion.
sourceimpl PartialEq<Cardinality> for Cardinality
impl PartialEq<Cardinality> for Cardinality
sourcefn eq(&self, other: &Cardinality) -> bool
fn eq(&self, other: &Cardinality) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Cardinality) -> bool
fn ne(&self, other: &Cardinality) -> bool
This method tests for !=
.
impl Copy for Cardinality
impl StructuralPartialEq for Cardinality
Auto Trait Implementations
impl RefUnwindSafe for Cardinality
impl Send for Cardinality
impl Sync for Cardinality
impl Unpin for Cardinality
impl UnwindSafe for Cardinality
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> EncodeToVec for T where
T: Canon,
impl<T> EncodeToVec for T where
T: Canon,
sourcepub fn encode_to_vec(&self) -> Vec<u8, Global>
pub fn encode_to_vec(&self) -> Vec<u8, Global>
Encode Self
into a buffer
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more