Trait map_split::Splittable [] [src]

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

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

Associated Types

Required Methods

Implementors