Macro stack_any::stack_any

source ·
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.

§Examples

let five = stack_any::stack_any!(i32, 5);