Trait Flavor

Source
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§

Source

type Type: Debug + Clone + Eq

The type that this flavor serializes to.

Source

type Name: Display + Debug + Clone + Eq

The local field name.

Source

type Field: FlavorField

The field that this flavor serializes to.

Source

type Endpoint: Debug + Clone

The endpoint that this flavor serializes to.

Source

type Package: Debug + Clone + Eq + Ord + Hash + AsPackage

The package type.

Source

type EnumType: Debug + Clone + Eq

Enum 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.

Implementors§