pub enum CandidateSimilarity {
Exact {
ignoring_lifetimes: bool,
},
Fuzzy {
ignoring_lifetimes: bool,
},
}
Variants§
Trait Implementations§
source§impl Clone for CandidateSimilarity
impl Clone for CandidateSimilarity
source§fn clone(&self) -> CandidateSimilarity
fn clone(&self) -> CandidateSimilarity
Returns a copy of the value. Read more
1.0.0 · 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 CandidateSimilarity
impl Debug for CandidateSimilarity
source§impl Ord for CandidateSimilarity
impl Ord for CandidateSimilarity
source§fn cmp(&self, other: &CandidateSimilarity) -> Ordering
fn cmp(&self, other: &CandidateSimilarity) -> Ordering
1.21.0 · 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<CandidateSimilarity> for CandidateSimilarity
impl PartialEq<CandidateSimilarity> for CandidateSimilarity
source§fn eq(&self, other: &CandidateSimilarity) -> bool
fn eq(&self, other: &CandidateSimilarity) -> bool
source§impl PartialOrd<CandidateSimilarity> for CandidateSimilarity
impl PartialOrd<CandidateSimilarity> for CandidateSimilarity
source§fn partial_cmp(&self, other: &CandidateSimilarity) -> Option<Ordering>
fn partial_cmp(&self, other: &CandidateSimilarity) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CandidateSimilarity
impl Eq for CandidateSimilarity
impl StructuralEq for CandidateSimilarity
impl StructuralPartialEq for CandidateSimilarity
Auto Trait Implementations§
impl RefUnwindSafe for CandidateSimilarity
impl Send for CandidateSimilarity
impl Sync for CandidateSimilarity
impl Unpin for CandidateSimilarity
impl UnwindSafe for CandidateSimilarity
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 2 bytes
Size for each variant:
Exact
: 1 byteFuzzy
: 1 byte