pub trait HasAbi<const ABI: u8>: FnPtr { }Expand description
Marker trait implemented for function pointers of a specific ABI.
For example:
HasAbi<Abi::C>forextern "C" fn(...)HasAbi<Abi::Sysv64>forextern "sysv64" fn(...)
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.