pub trait VariantType {
// Required method
fn variant_type_id() -> VariantScalarTypeId;
}Expand description
A Rust type with one built-in scalar representation on the wire.
Required Methods§
Sourcefn variant_type_id() -> VariantScalarTypeId
fn variant_type_id() -> VariantScalarTypeId
Built-in type identifier used when declaring a variable or array element.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".