Struct syn::token::Crate [−][src]
pub struct Crate { pub span: Span, }
crate
Don't try to remember the name of this type -- use the Token!
macro instead.
Fields
span: Span
Trait Implementations
impl Copy for Crate
[src]
impl Copy for Crate
impl Clone for Crate
[src]
impl Clone for Crate
fn clone(&self) -> Crate
[src]
fn clone(&self) -> Crate
Returns 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 Crate
[src]
impl Default for Crate
impl ToTokens for Crate
[src]
impl ToTokens for Crate
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn to_tokens(&self, tokens: &mut TokenStream)
Write self
to the given TokenStream
. Read more
fn into_token_stream(self) -> TokenStream
[src]
fn into_token_stream(self) -> TokenStream
Convert self
directly into a TokenStream
object. Read more
impl Parse for Crate
[src]
impl Parse for Crate
fn parse(input: ParseStream) -> Result<Self>
[src]
fn parse(input: ParseStream) -> Result<Self>
impl Token for Crate
[src]
impl Token for Crate
impl From<Crate> for Ident
[src]
impl From<Crate> for Ident