Trait Pattern

Source
pub trait Pattern {
    // Required method
    fn split_prefix(self, input: &mut Input<'_>) -> bool;
}

Required Methods§

Source

fn split_prefix(self, input: &mut Input<'_>) -> bool

Implementations on Foreign Types§

Source§

impl Pattern for &str

Source§

fn split_prefix(self, input: &mut Input<'_>) -> bool

Source§

impl Pattern for char

Source§

fn split_prefix(self, input: &mut Input<'_>) -> bool

Implementors§

Source§

impl<F: FnMut(char) -> bool> Pattern for F