Skip to main content

ContextInterface

Trait ContextInterface 

Source
pub trait ContextInterface:
    HasIdInterface
    + Make0
    + Debug {
    type Changer: ChangerInterface;

    // Required method
    fn changer(&mut self) -> Self::Changer;
}
Expand description

Registry of contexts.

Required Associated Types§

Source

type Changer: ChangerInterface

Type of changer of the context.

Required Methods§

Source

fn changer(&mut self) -> Self::Changer

Get changer of the context.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§