Trait tuple_utils::Split

source ·
pub trait Split {
    type Left;
    type Right;

    fn split(self) -> (Self::Left, Self::Right);
}
Expand description

Tries to split a tuple into two tuples if the tuple is odd sized the Right side will contain the extra element

Required Associated Types

Required Methods

Implementations on Foreign Types

Implementors