pub enum Certainty {
Definite,
Inferred,
}Expand description
Whether a reference is definite (unambiguous) or inferred (one of many options).
Variants§
Definite
The instruction names this target unambiguously.
Inferred
The instruction produces a value that may be this target.
Trait Implementations§
impl Copy for Certainty
impl Eq for Certainty
Source§impl Ord for Certainty
impl Ord for Certainty
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Certainty
impl PartialOrd for Certainty
impl StructuralPartialEq for Certainty
Auto Trait Implementations§
impl Forget for Certainty
impl Freeze for Certainty
impl Move for Certainty
impl RefUnwindSafe for Certainty
impl Send for Certainty
impl Sync for Certainty
impl Unpin for Certainty
impl UnsafeUnpin for Certainty
impl UnwindSafe for Certainty
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