pub trait Flavor:
Debug
+ Clone
+ Eq
+ Hash {
type Type: Debug + Clone + Eq;
type Name: Display + Debug + Clone + Eq;
type Field: FlavorField;
type Endpoint: Debug + Clone;
type Package: Debug + Clone + Eq + Ord + Hash + AsPackage;
type EnumType: Debug + Clone + Eq;
}
Expand description
The flavor of intermediate representation being used.
Required Associated Types§
Sourcetype Field: FlavorField
type Field: FlavorField
The field that this flavor serializes to.
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.