Similar to [std::cell::LazyCell], but use &mut self to get or initialization
Suitable for being wrapped in a Mutex
Examples
use LazyMut;
use Mutex;
static FOO: = new;
let mut lock = FOO.lock.unwrap;
assert_eq!;
lock.get.push;
assert_eq!;
Similar to [std::cell::LazyCell], but use &mut self to get or initialization
Suitable for being wrapped in a Mutex
use LazyMut;
use Mutex;
static FOO: = new;
let mut lock = FOO.lock.unwrap;
assert_eq!;
lock.get.push;
assert_eq!;