Struct microkelvin::Cardinality [−][src]
pub struct Cardinality(_);
Expand description
The cardinality of a compound collection
Trait Implementations
Returns the “default value” for a type. Read more
impl<__D: Fallible + ?Sized> Deserialize<Cardinality, __D> for Archived<Cardinality> where
LittleEndian<u64>: Archive,
Archived<LittleEndian<u64>>: Deserialize<LittleEndian<u64>, __D>,
impl<__D: Fallible + ?Sized> Deserialize<Cardinality, __D> for Archived<Cardinality> where
LittleEndian<u64>: Archive,
Archived<LittleEndian<u64>>: Deserialize<LittleEndian<u64>, __D>,
Deserializes using the given deserializer
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<__S: Fallible + ?Sized> Serialize<__S> for Cardinality where
LittleEndian<u64>: Serialize<__S>,
impl<__S: Fallible + ?Sized> Serialize<__S> for Cardinality where
LittleEndian<u64>: Serialize<__S>,
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
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Converts some archived metadata to the pointer metadata for itself.
The archived counterpart of this type. Unlike Archive
, it may be unsized. Read more
type MetadataResolver = ()
type MetadataResolver = ()
The resolver for the metadata of this type. Read more
pub unsafe fn resolve_metadata(
&self,
usize,
<T as ArchiveUnsized>::MetadataResolver,
*mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
)
pub unsafe fn resolve_metadata(
&self,
usize,
<T as ArchiveUnsized>::MetadataResolver,
*mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
)
Creates the archived version of the metadata for this value at the given position and writes it to the given output. Read more
Mutably borrows from an owned value. Read more