Enum analiticcl::types::StopCriterion
source · pub enum StopCriterion {
Exhaustive,
StopAtExactMatch,
}
Variants§
Exhaustive
StopAtExactMatch
Stop when we find an exact match with a lexical weight higher or equal than the specified value here
Trait Implementations§
source§impl Clone for StopCriterion
impl Clone for StopCriterion
source§fn clone(&self) -> StopCriterion
fn clone(&self) -> StopCriterion
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 StopCriterion
impl Debug for StopCriterion
source§impl PartialEq for StopCriterion
impl PartialEq for StopCriterion
source§fn eq(&self, other: &StopCriterion) -> bool
fn eq(&self, other: &StopCriterion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StopCriterion
impl StructuralPartialEq for StopCriterion
Auto Trait Implementations§
impl Freeze for StopCriterion
impl RefUnwindSafe for StopCriterion
impl Send for StopCriterion
impl Sync for StopCriterion
impl Unpin for StopCriterion
impl UnwindSafe for StopCriterion
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> 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