pub struct ExactMatch;
Trait Implementations§
Source§impl Clone for ExactMatch
impl Clone for ExactMatch
Source§fn clone(&self) -> ExactMatch
fn clone(&self) -> ExactMatch
Returns a duplicate 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 Default for ExactMatch
impl Default for ExactMatch
Source§fn default() -> ExactMatch
fn default() -> ExactMatch
Returns the “default value” for a type. Read more
Source§impl Measure for ExactMatch
impl Measure for ExactMatch
fn min_feature_size(&self, query_size: usize, _alpha: f64) -> usize
fn max_feature_size( &self, query_size: usize, _alpha: f64, _db: &dyn Database, ) -> usize
fn minimum_common_feature_count( &self, query_size: usize, _y_size: usize, _alpha: f64, ) -> usize
fn similarity(&self, x: &[Spur], y: &[Spur]) -> f64
impl Copy for ExactMatch
Auto Trait Implementations§
impl Freeze for ExactMatch
impl RefUnwindSafe for ExactMatch
impl Send for ExactMatch
impl Sync for ExactMatch
impl Unpin for ExactMatch
impl UnwindSafe for ExactMatch
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more