Enum syn::Member
[−]
[src]
A struct or tuple struct field accessed in a struct literal or field expression.
This type is available if Syn is built with the "derive"
or "full"
feature.
Variants
Named(Ident)
A named field like self.x
.
Unnamed(Index)
An unnamed field like self.0
.
Trait Implementations
impl ToTokens for Member
[src]
impl ToTokens for Member
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 Clone for Member
[src]
impl Clone for Member