pub trait Stated { type Ctx; // Required methods fn get(&self) -> &Self::Ctx; fn get_mut(&mut self) -> &mut Self::Ctx; }