crb-agent 0.0.35

CRB | Composable Runtime Blocks | Agent
Documentation
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<'_>;
}