A trait that allows for destruction of a value in case of a panic. This trait is automatically implemented from the Destruct implementation for a type.

Signature

pub trait PanicDestruct

Trait functions

panic_destruct

Signature

fn panic_destruct(self: T, ref panic: Panic)