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,

§

type Output = GetMutIndex<'a, A>

source§

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

§

type Output = GetMutIndex<'a, M>