Enum roogle_engine::compare::DiscreteSimilarity [−][src]
pub enum DiscreteSimilarity {
Equivalent,
Subequal,
Different,
}Variants
Indicates that two types are the same.
For example:
i32andi32Result<i32, ()>andResult<i32, ()>
Indicates that two types are partially equal.
For example:
- an unbound generic type
Tandi32 - an unbound generic type
TandOption<U>
Indicates that two types are not similar at all.
For example:
i32andOption<bool>
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for DiscreteSimilarity
impl Send for DiscreteSimilarity
impl Sync for DiscreteSimilarity
impl Unpin for DiscreteSimilarity
impl UnwindSafe for DiscreteSimilarity
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more