pub enum KeepReason {
NoPass,
Worse,
}Expand description
Why a search kept the start gains.
Variants§
NoPass
No gain down to the search’s min passed.
Worse
The result flew worse than the start (Acceptance), missed the criterion without
flying closer to it than a start that also missed, or its steps aborted or kept
clipping.
Trait Implementations§
Source§impl Clone for KeepReason
impl Clone for KeepReason
impl Copy for KeepReason
Source§impl Debug for KeepReason
impl Debug for KeepReason
impl Eq for KeepReason
Source§impl PartialEq for KeepReason
impl PartialEq for KeepReason
impl StructuralPartialEq for KeepReason
Auto Trait Implementations§
impl Forget for KeepReason
impl Freeze for KeepReason
impl Move for KeepReason
impl RefUnwindSafe for KeepReason
impl Send for KeepReason
impl Sync for KeepReason
impl Unpin for KeepReason
impl UnsafeUnpin for KeepReason
impl UnwindSafe for KeepReason
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,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.