Enum syntax::print::pp::Token [] [src]

pub enum Token {
    String(Stringisize),
    Break(BreakToken),
    Begin(BeginToken),
    End,
    Eof,
}
Unstable (rustc_private)

Variants

String(Stringisize)
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]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

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