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
sourceimpl PartialEq<Inhibit> for Inhibit
impl PartialEq<Inhibit> for Inhibit
impl Copy for Inhibit
impl Eq for Inhibit
impl StructuralEq for Inhibit
impl StructuralPartialEq for Inhibit
Auto Trait Implementations
impl RefUnwindSafe for Inhibit
impl Send for Inhibit
impl Sync for Inhibit
impl Unpin for Inhibit
impl UnwindSafe for Inhibit
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToClosureReturnValue for T where
T: ToValue,
impl<T> ToClosureReturnValue for T where
T: ToValue,
fn to_closure_return_value(&self) -> Option<Value>
sourceimpl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
sourcefn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a SendValue
clone of self
.