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

Convert user pointer trg:*mut T to Some(trg as &mut T) or None if null.