Skip to main content

GetMut

Trait GetMut 

Source
pub trait GetMut<'a> {
    type Output: Deref + DerefMut;

    // Required method
    fn get_mut(&'a mut self, i: usize) -> Option<Self::Output>;
}

Required Associated Types§

Required Methods§

Source

fn get_mut(&'a mut self, i: usize) -> Option<Self::Output>

Implementors§

Source§

impl<'a, A> GetMut<'a> for VecActSegtree<A>
where A: MonoidAction + 'a, <A::Operator as Magma>::Set: Clone, <A::Operand as Magma>::Set: Clone,

Source§

type Output = GetMutIndex<'a, A>

Source§

impl<'a, M> GetMut<'a> for VecSegtree<M>
where M: Monoid + 'a, M::Set: Clone,

Source§

type Output = GetMutIndex<'a, M>