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§

source

type Signature

The function as a fn type.

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§