#[non_exhaustive]pub enum CompileConfidence {
High,
Medium,
Low,
}Expand description
Confidence for HIR-local compile-environment 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 CompileConfidence
impl Clone for CompileConfidence
Source§fn clone(&self) -> CompileConfidence
fn clone(&self) -> CompileConfidence
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 CompileConfidence
impl Debug for CompileConfidence
Source§impl Hash for CompileConfidence
impl Hash for CompileConfidence
Source§impl PartialEq for CompileConfidence
impl PartialEq for CompileConfidence
Source§fn eq(&self, other: &CompileConfidence) -> bool
fn eq(&self, other: &CompileConfidence) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CompileConfidence
impl Eq for CompileConfidence
impl StructuralPartialEq for CompileConfidence
Auto Trait Implementations§
impl Freeze for CompileConfidence
impl RefUnwindSafe for CompileConfidence
impl Send for CompileConfidence
impl Sync for CompileConfidence
impl Unpin for CompileConfidence
impl UnsafeUnpin for CompileConfidence
impl UnwindSafe for CompileConfidence
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