Trait ExtensionFor

Source
pub trait ExtensionFor<A: Agent>: Send + 'static {
    type View<'a>;

    // Required method
    fn extend(&mut self, ctx: &mut A::Context) -> Self::View<'_>;
}
Expand description

Stateful extenions for the Context.

Required Associated Types§

Source

type View<'a>

Required Methods§

Source

fn extend(&mut self, ctx: &mut A::Context) -> Self::View<'_>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§