pub enum PanicTrigManuallyDrop {}Available on crate feature
support_panic_trig only.Expand description
In case of undefined behavior of manual memory management, perform a normal panic.
Trait Implementations§
Source§impl TrigManuallyDrop for PanicTrigManuallyDrop
impl TrigManuallyDrop for PanicTrigManuallyDrop
Source§fn trig_next_invalid_beh<'a>(a: Arguments<'a>)
fn trig_next_invalid_beh<'a>(a: Arguments<'a>)
Implementation of behavior in case of detection of
undefined manual memory management.
Auto Trait Implementations§
impl Freeze for PanicTrigManuallyDrop
impl RefUnwindSafe for PanicTrigManuallyDrop
impl Send for PanicTrigManuallyDrop
impl Sync for PanicTrigManuallyDrop
impl Unpin for PanicTrigManuallyDrop
impl UnwindSafe for PanicTrigManuallyDrop
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