pub unsafe trait ManagedFunctionPtr: FunctionPtr {
type Args;
type Output;
const ARITY: usize;
}
Available on crate feature
netcore3_0
only.Expand description
Trait representing a managed function pointer.
§Safety
This trait should only be implemented for extern "system"
function pointers and the associated types and constants have to match the function pointer type.
Required Associated Constants§
Required Associated Types§
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.