Trait baa::IndexToMutRef

source ·
pub trait IndexToMutRef<I, O> {
    // Required method
    fn get_mut_ref(self, index: I) -> O;
}
Expand description

Implemented by value stores to convert indices into mutable value references.

Required Methods§

source

fn get_mut_ref(self, index: I) -> O

Implementations on Foreign Types§

source§

impl<'a, I1, I2> IndexToMutRef<(I1, I2), (ArrayValueMutRef<'a>, ArrayValueRef<'a>)> for &'a mut [Word]

source§

fn get_mut_ref( self, (a, b): (I1, I2), ) -> (ArrayValueMutRef<'a>, ArrayValueRef<'a>)

source§

impl<'a, I> IndexToMutRef<(I, I), (BitVecValueMutRef<'a>, BitVecValueRef<'a>)> for &'a mut [Word]

source§

fn get_mut_ref( self, (a, b): (I, I), ) -> (BitVecValueMutRef<'a>, BitVecValueRef<'a>)

source§

impl<'a, I> IndexToMutRef<(I, I, I), (BitVecValueMutRef<'a>, BitVecValueRef<'a>, BitVecValueRef<'a>)> for &'a mut [Word]

source§

impl<'a, I> IndexToMutRef<I, ArrayValueMutRef<'a>> for &'a mut [Word]

source§

fn get_mut_ref(self, index: I) -> ArrayValueMutRef<'a>

source§

impl<'a, I> IndexToMutRef<I, BitVecValueMutRef<'a>> for &'a mut [Word]

source§

fn get_mut_ref(self, index: I) -> BitVecValueMutRef<'a>

Implementors§