Trait interoptopus::lang::rust::FunctionInfo
source · [−]pub unsafe trait FunctionInfo {
type Signature;
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.