pub enum Dismissal {
Location(String),
DiagType(String),
}Variants§
Implementations§
Source§impl Dismissal
impl Dismissal
Sourcepub fn applies_to(&self, item: Item<'_>) -> bool
pub fn applies_to(&self, item: Item<'_>) -> bool
Return true if the item must be dismissed
pub fn undo_action(&self) -> Action
Trait Implementations§
impl Eq for Dismissal
impl StructuralPartialEq for Dismissal
Auto Trait Implementations§
impl Freeze for Dismissal
impl RefUnwindSafe for Dismissal
impl Send for Dismissal
impl Sync for Dismissal
impl Unpin for Dismissal
impl UnwindSafe for Dismissal
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.