pub struct Inhibit(pub bool);
Expand description
Whether to propagate the signal to the default handler.
Don’t inhibit default handlers without a reason, they’re usually helpful.
Tuple Fields§
§0: bool
Trait Implementations§
impl Copy for Inhibit
impl Eq for Inhibit
impl StructuralPartialEq for Inhibit
Auto Trait Implementations§
impl Freeze for Inhibit
impl RefUnwindSafe for Inhibit
impl Send for Inhibit
impl Sync for Inhibit
impl Unpin for Inhibit
impl UnwindSafe for Inhibit
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