Skip to main content

SlotKind

Trait SlotKind 

Source
pub trait SlotKind {
    type Info: SlotInfoTrait;

    // Required method
    fn kind() -> SlotKindType;
}
Expand description

Associates slot info/kinds together.

Required Associated Types§

Source

type Info: SlotInfoTrait

The associated info for this kind.

Required Methods§

Source

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

Implementors§