[][src]Trait sully_input::Exact

pub trait Exact {
    pub fn exact<'a>(&self, input: &'a str) -> Option<&'a str>;
}

Required methods

pub fn exact<'a>(&self, input: &'a str) -> Option<&'a str>[src]

Loading content...

Implementations on Foreign Types

impl Exact for char[src]

Parse a prefix matching the char exactly

impl Exact for &str[src]

Parse a prefix matching the &str exactly

impl Exact for RangeInclusive<char>[src]

Parse any of the characters in the inclusive range

Loading content...

Implementors

impl<F> Exact for F where
    F: Fn(char) -> bool
[src]

Parse a single character matching the predicate

Loading content...