Trait tuples::tuple_get::TupleGetMut
source · pub trait TupleGetMut: TupleGet {
// Required methods
fn get_mut(&mut self, index: usize) -> &mut Self::Output;
fn try_get_mut(&mut self, index: usize) -> Option<&mut Self::Output>;
}
Expand description
Get the nth item of the tuple
Required Methods§
sourcefn try_get_mut(&mut self, index: usize) -> Option<&mut Self::Output>
fn try_get_mut(&mut self, index: usize) -> Option<&mut Self::Output>
Get the nth item of the tuple