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

pub unsafe trait CTypeInfo {
    fn type_info() -> CType;
}
Expand description

Implemented for a type via ffi_type, gives meta info for a type.

Safety

This trait must be implemented correctly, or else the generated bindings disagree in their type layout from the actual Rust type, leading to immediate UB upon function invocation.

Required methods

Implementations on Foreign Types

Implementors