#[non_exhaustive]pub enum IdentityMapMode {
LocalEqualsCanonical,
ExplicitMap,
}Expand description
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
LocalEqualsCanonical
Local IDs are identical to canonical IDs for this family.
ExplicitMap
The snapshot stores an explicit local-to-canonical map section.
Trait Implementations§
Source§impl Clone for IdentityMapMode
impl Clone for IdentityMapMode
Source§fn clone(&self) -> IdentityMapMode
fn clone(&self) -> IdentityMapMode
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 IdentityMapMode
impl Debug for IdentityMapMode
Source§impl Hash for IdentityMapMode
impl Hash for IdentityMapMode
Source§impl Ord for IdentityMapMode
impl Ord for IdentityMapMode
Source§fn cmp(&self, other: &IdentityMapMode) -> Ordering
fn cmp(&self, other: &IdentityMapMode) -> 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 IdentityMapMode
impl PartialEq for IdentityMapMode
Source§fn eq(&self, other: &IdentityMapMode) -> bool
fn eq(&self, other: &IdentityMapMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for IdentityMapMode
impl PartialOrd for IdentityMapMode
impl Copy for IdentityMapMode
impl Eq for IdentityMapMode
impl StructuralPartialEq for IdentityMapMode
Auto Trait Implementations§
impl Freeze for IdentityMapMode
impl RefUnwindSafe for IdentityMapMode
impl Send for IdentityMapMode
impl Sync for IdentityMapMode
impl Unpin for IdentityMapMode
impl UnsafeUnpin for IdentityMapMode
impl UnwindSafe for IdentityMapMode
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