Trait netcorehost::hostfxr::ManagedFunctionPtr
source · 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 Types§
Required Associated Constants§
Object Safety§
This trait is not object safe.