Enum syn::Member[][src]

pub enum Member {

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.


A named field like self.x.

An unnamed field like self.0.

Trait Implementations

impl Synom for Member

A short name of the type being parsed. Read more

impl ToTokens for Member

Write self to the given TokenStream. Read more

Convert self directly into a TokenStream object. Read more

impl Debug for Member

Formats the value using the given formatter. Read more

impl Eq for Member

impl PartialEq for Member

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for Member

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for Member

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