Trait interoptopus::lang::rust::FunctionInfo
source · pub unsafe trait FunctionInfo {
type Signature;
// Required method
fn function_info() -> Function;
}
Expand description
Implemented for a function-helper produced by ffi_function
, gives meta info for a function.
§Safety
This trait must be implemented correctly, or else the generated bindings signatures disagree from their Rust counterparts, leading to immediate UB upon function invocation.
Required Associated Types§
Required Methods§
fn function_info() -> Function
Object Safety§
This trait is not object safe.