pub trait HasSchema {
type A: 'static;
type I: 'static;
type E: EffectData + 'static;
// Required method
fn schema() -> Schema<Self::A, Self::I, Self::E>
where Self: Sized;
}Expand description
A type that knows its bidirectional Schema.
Required Associated Types§
Sourcetype E: EffectData + 'static
type E: EffectData + 'static
EffectData tag for the schema.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".