Trait nom::AsChar [−][src]
transforms common types to a char for basic token parsing
Required methods
fn as_char(self) -> char
[src]
makes a char from self
fn is_alpha(self) -> bool
[src]
tests that self is an alphabetic character
warning: for &str
it recognizes alphabetic
characters outside of the 52 ASCII letters
fn is_alphanum(self) -> bool
[src]
tests that self is an alphabetic character or a decimal digit
fn is_dec_digit(self) -> bool
[src]
tests that self is a decimal digit
fn is_hex_digit(self) -> bool
[src]
tests that self is an hex digit
fn is_oct_digit(self) -> bool
[src]
tests that self is an octal digit
fn len(self) -> usize
[src]
gets the len in bytes for self