Enum syntax::print::pp::Token
[−]
[src]
pub enum Token { String(String, isize), Break(BreakToken), Begin(BeginToken), End, Eof, }
Unstable (
rustc_private
)Variants
String(String, isize)
Unstable (
rustc_private
)Break(BreakToken)
Unstable (
rustc_private
)Begin(BeginToken)
Unstable (
rustc_private
)End
Unstable (
rustc_private
)Eof
Unstable (
rustc_private
)Methods
impl Token
[src]
fn is_eof(&self) -> bool
fn is_hardbreak_tok(&self) -> bool
Trait Implementations
impl Display for Token
[src]
Derived Implementations
impl Clone for Token
[src]
fn clone(&self) -> Token
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