Trait IntoPanicHook

Source
pub trait IntoPanicHook {
    // Required method
    fn into_panic_hook(
        self,
    ) -> Box<dyn Fn(&PanicInfo<'_>) + Sync + Send + 'static>;
}
Expand description

Turn something into a panic hook.

Required Methods§

Source

fn into_panic_hook(self) -> Box<dyn Fn(&PanicInfo<'_>) + Sync + Send + 'static>

Implementors§

Source§

impl<T> IntoPanicHook for T
where T: PresentationMode + 'static + Send + Sync,