Enum roogle_engine::compare::Similarity [−][src]
pub enum Similarity {
Discrete(DiscreteSimilarity),
Continuous(f32),
}Variants
Discrete(DiscreteSimilarity)Represents how digitally similar two objects are.
Tuple Fields of Discrete
Continuous(f32)Represents how analogly similar two objects are.
Tuple Fields of Continuous
0: f32Implementations
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
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 Similarity
impl Send for Similarity
impl Sync for Similarity
impl Unpin for Similarity
impl UnwindSafe for Similarity
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