shared_mut

Macro shared_mut 

Source
macro_rules! shared_mut {
    ($vis:vis $name:ident : $ty:ty) => { ... };
}
Expand description

Declare a static wrapped in StaticMut for single-owner mutable state.

§Example

ove::shared_mut!(ENGINE: DspEngine);