Trait interoptopus::lang::rust::FunctionInfo[][src]

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.

Associated Types

The function as a fn type.

Required methods

Implementors