pub enum Feasibility {
None,
One,
Many,
}Expand description
Saturating feasibility count for a component: none, exactly one, or many satisfying assignments. Deliberately separate from score ambiguity — a component can be uniquely feasible with an ambiguous maximum, or plurally feasible with a unique maximum.
Variants§
Trait Implementations§
Source§impl Clone for Feasibility
impl Clone for Feasibility
Source§fn clone(&self) -> Feasibility
fn clone(&self) -> Feasibility
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Feasibility
Source§impl Debug for Feasibility
impl Debug for Feasibility
impl Eq for Feasibility
Source§impl PartialEq for Feasibility
impl PartialEq for Feasibility
Source§fn eq(&self, other: &Feasibility) -> bool
fn eq(&self, other: &Feasibility) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Feasibility
Auto Trait Implementations§
impl Freeze for Feasibility
impl RefUnwindSafe for Feasibility
impl Send for Feasibility
impl Sync for Feasibility
impl Unpin for Feasibility
impl UnsafeUnpin for Feasibility
impl UnwindSafe for Feasibility
Blanket Implementations§
impl<T> Allocation for T
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more