Trait map_split::Splittable [] [src]

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

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

Associated Types

type A

type B

Required Methods

fn split(&self) -> (&Self::A, &Self::B)

fn split_mut(&mut self) -> (&mut Self::A, &mut Self::B)

Implementors