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 Synom for Member
[src]

A short name of the type being parsed. Read more

impl ToTokens for Member
[src]

Write self to the given Tokens. Read more

Convert self directly into a Tokens 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