Cut

Trait Cut 

Source
pub trait Cut<Rhs = Self> {
    type Out;

    // Required method
    fn cut(&mut self, rhs: &Rhs) -> Self::Out;
}

Required Associated Types§

Required Methods§

Source

fn cut(&mut self, rhs: &Rhs) -> Self::Out

Returns the intersection between self and other while removing the intersection from self

Implementors§

Source§

impl Cut for Splinter

Source§

impl<B: Deref<Target = [u8]>> Cut<CowSplinter<B>> for Splinter

Source§

impl<B: Deref<Target = [u8]>> Cut<SplinterRef<B>> for Splinter