Struct splitmut::GetMuts
[−]
[src]
pub struct GetMuts<'a, K, V, A: 'a + SplitMut<K, V> + ?Sized>(_, _, _);
Wrapper struct for the get_muts function.
Methods
impl<'a, K, V, A: 'a + SplitMut<K, V> + ?Sized> GetMuts<'a, K, V, A>
[src]
fn at(&mut self, k: K) -> Result<&'a mut V, SplitMutError>
[src]
Returns a mutable reference with the same lifetime as the original collection, i e, it allows several distinct mutable references to be alive simultaneously.
It returnes an error if the value does not exist or has already been returned.