Struct syn::token::Do [−][src]
pub struct Do(pub Span);
do
Don't try to remember the name of this type -- use the Token!
macro instead.
Trait Implementations
impl Copy for Do[src]
impl Copy for Doimpl Clone for Do[src]
impl Clone for Dofn clone(&self) -> Do[src]
fn clone(&self) -> DoReturns 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 Do[src]
impl Default for Doimpl ToTokens for Do[src]
impl ToTokens for Dofn 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 Do[src]
impl Synom for Dofn parse(tokens: Cursor) -> PResult<Do>[src]
fn parse(tokens: Cursor) -> PResult<Do>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 Do[src]
impl From<Span> for Do