Enum erl_tokenize::values::Whitespace
[−]
[src]
pub enum Whitespace { Space, Tab, Return, Newline, NoBreakSpace, }
White space.
Variants
Space
' '
Tab
'\t'
Return
'\r'
Newline
'\n'
NoBreakSpace
'\u{A0}'
Methods
impl Whitespace
[src]
fn as_char(&self) -> char
Coverts to the corresponding character.
fn as_str(&self) -> &'static str
Coverts to the corresponding string.
Trait Implementations
impl Debug for Whitespace
[src]
impl Clone for Whitespace
[src]
fn clone(&self) -> Whitespace
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for Whitespace
[src]
impl PartialEq for Whitespace
[src]
fn eq(&self, __arg_0: &Whitespace) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.