Enum syntax::print::pp::Token[src]
pub enum Token {
String(String, int),
Break(BreakToken),
Begin(BeginToken),
End,
Eof,
}Variants
String | |
Break | |
Begin | |
End | |
Eof |
pub enum Token {
String(String, int),
Break(BreakToken),
Begin(BeginToken),
End,
Eof,
}String | |
Break | |
Begin | |
End | |
Eof |
impl Tokenfn is_eof(&self) -> boolfn is_hardbreak_tok(&self) -> boolimpl Clone for Tokenfn clone(&self) -> Tokenfn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).