Type Definition tupleops::RefMutTuple [−][src]
pub type RefMutTuple<'a, Tpl> = <&'a mut Tpl as TupleRefMut<'a, Tpl>>::Type;
This is supported on crate feature
ref-mut
only.Expand description
The resulting type when every element of this reference to a mutable tuple is turned into a mutable reference.
ⓘ
use same_types::assert_same_types;
use tupleops::RefMutTuple;
assert_same_types!(
RefMutTuple<'a, (u8, u16, u32)>,
(&'a mut u8, &'a mut u16, &'a mut u32),
);
See also: ref_mut_tuple(), TupleRefMut.