macro_rules! stack_any {
($type:ty, $init:expr) => { ... };
}Expand description
Allocates memory on the stack and then places value based on given type and value.
§Panics
Panics if ty type size is larger than expr type size in stack_any!(ty, expr).
§Examples
let five = stack_any::stack_any!(i32, 5);