pub struct QualifiedIndexVariantName { /* private fields */ }Expand description
A fully qualified index variant name, rendered as Index.Variant.
Implementations§
Source§impl QualifiedIndexVariantName
impl QualifiedIndexVariantName
Sourcepub const fn new(index: IndexName, variant: IndexVariantName) -> Self
pub const fn new(index: IndexName, variant: IndexVariantName) -> Self
Create a qualified index variant name from its index and variant parts.
Sourcepub const fn variant(&self) -> &IndexVariantName
pub const fn variant(&self) -> &IndexVariantName
The variant/constructor part of the qualified variant.
Trait Implementations§
Source§impl Clone for QualifiedIndexVariantName
impl Clone for QualifiedIndexVariantName
Source§fn clone(&self) -> QualifiedIndexVariantName
fn clone(&self) -> QualifiedIndexVariantName
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 QualifiedIndexVariantName
impl Debug for QualifiedIndexVariantName
Source§impl Display for QualifiedIndexVariantName
impl Display for QualifiedIndexVariantName
impl Eq for QualifiedIndexVariantName
Source§impl Hash for QualifiedIndexVariantName
impl Hash for QualifiedIndexVariantName
Source§impl Ord for QualifiedIndexVariantName
impl Ord for QualifiedIndexVariantName
Source§fn cmp(&self, other: &QualifiedIndexVariantName) -> Ordering
fn cmp(&self, other: &QualifiedIndexVariantName) -> 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 QualifiedIndexVariantName
impl PartialEq for QualifiedIndexVariantName
Source§fn eq(&self, other: &QualifiedIndexVariantName) -> bool
fn eq(&self, other: &QualifiedIndexVariantName) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for QualifiedIndexVariantName
impl PartialOrd for QualifiedIndexVariantName
impl StructuralPartialEq for QualifiedIndexVariantName
Auto Trait Implementations§
impl Freeze for QualifiedIndexVariantName
impl RefUnwindSafe for QualifiedIndexVariantName
impl Send for QualifiedIndexVariantName
impl Sync for QualifiedIndexVariantName
impl Unpin for QualifiedIndexVariantName
impl UnsafeUnpin for QualifiedIndexVariantName
impl UnwindSafe for QualifiedIndexVariantName
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.