AsSafe

Trait AsSafe 

Source
pub trait AsSafe: WithSafety<Safe> { }
Expand description

Helper trait to compute the safe 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§