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