#[non_exhaustive]pub enum StashConfidence {
High,
Medium,
Low,
}Expand description
Confidence for HIR-local stash facts.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
High
High-confidence exact or simple desugared fact.
Medium
Medium-confidence static interpretation.
Low
Low-confidence dynamic-boundary fact.
Trait Implementations§
Source§impl Clone for StashConfidence
impl Clone for StashConfidence
Source§fn clone(&self) -> StashConfidence
fn clone(&self) -> StashConfidence
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 moreSource§impl Debug for StashConfidence
impl Debug for StashConfidence
Source§impl Hash for StashConfidence
impl Hash for StashConfidence
Source§impl PartialEq for StashConfidence
impl PartialEq for StashConfidence
Source§fn eq(&self, other: &StashConfidence) -> bool
fn eq(&self, other: &StashConfidence) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for StashConfidence
impl Eq for StashConfidence
impl StructuralPartialEq for StashConfidence
Auto Trait Implementations§
impl Freeze for StashConfidence
impl RefUnwindSafe for StashConfidence
impl Send for StashConfidence
impl Sync for StashConfidence
impl Unpin for StashConfidence
impl UnsafeUnpin for StashConfidence
impl UnwindSafe for StashConfidence
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