pub trait SlotKind {
type Info: SlotInfoTrait;
// Required method
fn kind() -> SlotKindType;
}Expand description
Associates slot info/kinds together.
Required Associated Types§
Sourcetype Info: SlotInfoTrait
type Info: SlotInfoTrait
The associated info for this kind.
Required Methods§
Sourcefn kind() -> SlotKindType
fn kind() -> SlotKindType
Return this kind.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".