Trait signalo_traits::StateMut[][src]

pub trait StateMut: State {
    unsafe fn state_mut(&mut self) -> &mut Self::State;
}
Expand description

Trait for systems with mutably accessible state.

Required methods

Returns a mutable reference to the internal state of the filter.

Safety

Relying on the internal structure of an object breaks encapsulation, putting your code at risk of breaking your invariants.

Implementors