macro_rules! move_ptr_to_opt {
    ($trg:ident) => { ... };
    ($token:ident,$trg:ident) => { ... };
}
Expand description

Convert user pointer trg to Some(*trg) or None if null.