GetAllMut

Trait GetAllMut 

Source
pub trait GetAllMut<I>: Seal {
    type Output;

    // Required method
    fn get_all_mut(self, ident: I) -> Option<Self::Output>;
}
Expand description

A trait that defines all the types defines how to get all of mutable references out of the heterogeneous list of IdCells.

Required Associated Types§

Source

type Output

A hlist of mutable references

Required Methods§

Source

fn get_all_mut(self, ident: I) -> Option<Self::Output>

Gets all mutable references from the IdCells, returns None if some of the types overlap

Implementations on Foreign Types§

Source§

impl<'a, T: ?Sized, R, I: ?Sized + Identifier> GetAllMut<&'a mut I> for Cons<&'a IdCell<T, I::Token>, R>
where R: GetAllMut<&'a mut I>,

Source§

impl<T> GetAllMut<T> for Nil

Source§

type Output = Nil

Source§

fn get_all_mut(self, _: T) -> Option<Self::Output>

Implementors§