Macro uninit
Source macro_rules! uninit {
() => { ... };
($ty:ty) => { ... };
}
Expand description
Creates a new uninitialized place on the stack.
The macro returns an Uninit reference that can later be written to. A
typed variant is available by passing a type parameter.
ยงExamples
use placid::prelude::*;
let my_uninit_place: Uninit<u32> = uninit!();
let my_typed_uninit_place = uninit!(u64);