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