pub enum Modality {
Impossible,
Possible,
Definite,
}Expand description
How firmly a relation holds across the completions of two expressions.
Variants§
Impossible
Holds for no pair of completions.
Possible
Holds for some pair of completions, but not all.
Definite
Holds for every pair of completions.
Implementations§
Trait Implementations§
impl Copy for Modality
impl Eq for Modality
impl StructuralPartialEq for Modality
Auto Trait Implementations§
impl Freeze for Modality
impl RefUnwindSafe for Modality
impl Send for Modality
impl Sync for Modality
impl Unpin for Modality
impl UnsafeUnpin for Modality
impl UnwindSafe for Modality
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