Trait StateMut
Other items insignalo_traits
pub trait StateMut: State { unsafe fn state_mut(&mut self) -> &mut Self::State; }
Trait for systems with mutably accessible state.
unsafe fn state_mut(&mut self) -> &mut Self::State
Returns a mutable reference to the internal state of the filter.
Relying on the internal structure of an object breaks encapsulation, putting your code at risk of breaking your invariants.