Trait map_split::Splittable [] [src]

pub trait Splittable<'a, SplitType = ()> {
    type A: 'a;
    type B: 'a;
    fn split(&'a self) -> (&'a Self::A, &'a Self::B);
    fn split_mut(&'a mut self) -> (&'a mut Self::A, &'a mut Self::B);
}

A type which can be split into disjoint references. SplitType allows a type to be split multiple

Associated Types

Required Methods

Implementors