pub struct DebugDropBomb(/* private fields */);
Implementations§
Source§impl DebugDropBomb
impl DebugDropBomb
pub fn new(msg: impl Into<Cow<'static, str>>) -> DebugDropBomb
pub fn defuse(&mut self)
pub fn set_defused(&mut self, defused: bool)
pub fn is_defused(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DebugDropBomb
impl RefUnwindSafe for DebugDropBomb
impl Send for DebugDropBomb
impl Sync for DebugDropBomb
impl Unpin for DebugDropBomb
impl UnwindSafe for DebugDropBomb
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