arma_rs/context/
state.rs

1/// A trait for accessing state values
2pub trait ContextState {
3    /// Get a reference to a state value
4    fn get<T>(&self) -> Option<&T>
5    where
6        T: Send + Sync + 'static;
7
8    /// Set a state value
9    fn set<T>(&self, value: T) -> bool
10    where
11        T: Send + Sync + 'static;
12}