Struct syn::ExprField [−][src]
pub struct ExprField { pub attrs: Vec<Attribute>, pub base: Box<Expr>, pub dot_token: Dot, pub member: Member, }
This is supported on crate features
full
or derive
only.Access of a named struct field (obj.k
) or unnamed tuple struct
field (obj.0
).
This type is available only if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
base: Box<Expr>
dot_token: Dot
member: Member
Trait Implementations
impl Clone for ExprField
[src]
impl Clone for ExprField
[src]This is supported on crate feature
clone-impls
only.fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Parse for ExprField
[src]
impl Parse for ExprField
[src]This is supported on crate feature
parsing
only.fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl ToTokens for ExprField
[src]
impl ToTokens for ExprField
[src]This is supported on crate feature
printing
only.fn to_tokens(&self, tokens: &mut TokenStream)
[src]
pub fn to_token_stream(&self) -> TokenStream
[src]
pub fn into_token_stream(self) -> TokenStream
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExprField
impl RefUnwindSafe for ExprField
impl UnwindSafe for ExprField
impl UnwindSafe for ExprField