AsUnsafe

Trait AsUnsafe 

Source
pub trait AsUnsafe: WithSafety<Unsafe> { }
Expand description

Helper trait to compute the unsafe version of a function pointer type while preserving arity, ABI, and signature.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§