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§
source§impl 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§
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> ToClosureReturnValue for Twhere
T: ToValue,
impl<T> ToClosureReturnValue for Twhere T: ToValue,
fn to_closure_return_value(&self) -> Option<Value>
source§impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere T: Send + ToValue + ?Sized,
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.