pub trait IncludeDef {
type Form;
}Expand description
Ties a definition type to its form token.
One include entry point then dispatches to the right mounting machinery at compile time.
Implemented by the #[subscriber] macro; a hand-written definition adds it next to its def
trait impl.
Required Associated Types§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".