Struct syn::token::While [−][src]
pub struct While(pub Span);
while
Don't try to remember the name of this type -- use the Token!
macro instead.
Trait Implementations
impl Copy for While[src]
impl Copy for Whileimpl Clone for While[src]
impl Clone for Whilefn clone(&self) -> While[src]
fn clone(&self) -> WhileReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Default for While[src]
impl Default for Whileimpl ToTokens for While[src]
impl ToTokens for Whilefn to_tokens(&self, tokens: &mut Tokens)[src]
fn to_tokens(&self, tokens: &mut Tokens)Write self to the given Tokens. Read more
fn into_tokens(self) -> Tokens[src]
fn into_tokens(self) -> TokensConvert self directly into a Tokens object. Read more
impl Synom for While[src]
impl Synom for Whilefn parse(tokens: Cursor) -> PResult<While>[src]
fn parse(tokens: Cursor) -> PResult<While>fn description() -> Option<&'static str>[src]
fn description() -> Option<&'static str>A short name of the type being parsed. Read more
impl From<Span> for While[src]
impl From<Span> for While