pub enum ResolutionCertainty {
Resolved,
Possible,
}Expand description
How much a candidate is known.
Variants§
Resolved
Language rules identify this one definition without inference.
Possible
Source evidence identifies the definition, but conditional compilation, dispatch, or incomplete type knowledge prevents proof.
Trait Implementations§
Source§impl Clone for ResolutionCertainty
impl Clone for ResolutionCertainty
Source§fn clone(&self) -> ResolutionCertainty
fn clone(&self) -> ResolutionCertainty
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 ResolutionCertainty
Source§impl Debug for ResolutionCertainty
impl Debug for ResolutionCertainty
Source§impl<'de> Deserialize<'de> for ResolutionCertainty
impl<'de> Deserialize<'de> for ResolutionCertainty
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ResolutionCertainty
Source§impl Hash for ResolutionCertainty
impl Hash for ResolutionCertainty
Source§impl Ord for ResolutionCertainty
impl Ord for ResolutionCertainty
Source§fn cmp(&self, other: &ResolutionCertainty) -> Ordering
fn cmp(&self, other: &ResolutionCertainty) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ResolutionCertainty
impl PartialEq for ResolutionCertainty
Source§impl PartialOrd for ResolutionCertainty
impl PartialOrd for ResolutionCertainty
Source§impl Serialize for ResolutionCertainty
impl Serialize for ResolutionCertainty
impl StructuralPartialEq for ResolutionCertainty
Auto Trait Implementations§
impl Freeze for ResolutionCertainty
impl RefUnwindSafe for ResolutionCertainty
impl Send for ResolutionCertainty
impl Sync for ResolutionCertainty
impl Unpin for ResolutionCertainty
impl UnsafeUnpin for ResolutionCertainty
impl UnwindSafe for ResolutionCertainty
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