[−][src]Struct gobble::chars::Alpha
[a-z][A-Z]
use gobble::*; assert_eq!(Alpha.min_n(4).parse_s("hello_"),Ok("hello".to_string())); assert!(Alpha.min_n(6).parse_s("hello_").is_err());
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Alpha
impl Send for Alpha
impl Sync for Alpha
impl Unpin for Alpha
impl UnwindSafe for Alpha
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<F> CharBool for F where
F: Fn(char) -> bool,
[src]
F: Fn(char) -> bool,
fn char_bool(&Self, char) -> bool
[src]
fn expected(&self) -> Expected
[src]
fn one(self) -> OneChar<Self>
[src]
fn any(self) -> Chars<Self>
[src]
fn min_n(self, min: usize) -> Chars<Self>
[src]
fn except<E: CharBool>(self, e: E) -> CharsExcept<Self, E>
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,