pub unsafe trait ConstantInfo {
    // Required method
    fn constant_info() -> Constant;
}
Expand description

Implemented for a constant-helper produced by ffi_constant, gives meta info for a constant.

§Safety

This trait must be implemented correctly, or else the generated bindings and this constant will disagree in type or value, causing UB.

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§