Enum syn::Member [] [src]

pub enum Member {
    Named(Ident),
    Unnamed(Index),
}

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

A named field like self.x.

An unnamed field like self.0.

Trait Implementations

impl ToTokens for Member
[src]

Write self to the given TokenStream. Read more

Convert self directly into a TokenStream object. Read more

impl Clone for Member
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for Member

impl !Sync for Member