move_as_ptr

Macro move_as_ptr 

Source
macro_rules! move_as_ptr {
    ($value: ident) => { ... };
}
Expand description

Safely converts a owned value into a MovingPtr while minimizing the number of stack copies.

This cannot be used as expression and must be used as a statement. Internally this macro works via variable shadowing.