1 2 3 4 5 6 7 8
use crate::agent::Agent; /// Stateful extenions for the `Context`. pub trait ExtensionFor<A: Agent>: Send + 'static { type View<'a>; fn extend(&mut self, ctx: &mut A::Context) -> Self::View<'_>; }