pub enum MatchingForInvalidation {
No,
Yes,
YesForComparison,
}
Expand description
Whether we’re matching in the contect of invalidation.
Variants§
Implementations§
source§impl MatchingForInvalidation
impl MatchingForInvalidation
sourcepub fn is_for_invalidation(&self) -> bool
pub fn is_for_invalidation(&self) -> bool
Are we matching for invalidation?
Trait Implementations§
source§impl Clone for MatchingForInvalidation
impl Clone for MatchingForInvalidation
source§fn clone(&self) -> MatchingForInvalidation
fn clone(&self) -> MatchingForInvalidation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for MatchingForInvalidation
impl PartialEq for MatchingForInvalidation
impl Copy for MatchingForInvalidation
impl StructuralPartialEq for MatchingForInvalidation
Auto Trait Implementations§
impl Freeze for MatchingForInvalidation
impl RefUnwindSafe for MatchingForInvalidation
impl Send for MatchingForInvalidation
impl Sync for MatchingForInvalidation
impl Unpin for MatchingForInvalidation
impl UnwindSafe for MatchingForInvalidation
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)