Trait OwnedPatternExt

Source
pub trait OwnedPatternExt {
    // Required method
    fn or(self, other: Box<dyn Pattern>) -> EitherPattern;
}

Required Methods§

Source

fn or(self, other: Box<dyn Pattern>) -> EitherPattern

Implementors§

Source§

impl<P> OwnedPatternExt for P
where P: Pattern + 'static,