pub trait NativeType {
const INTERFACE_TYPE: InterfaceType;
}Expand description
Represents a native type supported by WIT.
Required Associated Constants§
Sourceconst INTERFACE_TYPE: InterfaceType
const INTERFACE_TYPE: InterfaceType
The associated interface type that maps to the native type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.