Struct syn::FieldsNamed [−][src]
pub struct FieldsNamed { pub brace_token: Brace, pub named: Punctuated<Field, Comma>, }
Named fields of a struct or struct variant such as Point { x: f64, y: f64 }
.
This type is available only if Syn is built with the "derive"
or
"full"
feature.
Fields
brace_token: Brace
named: Punctuated<Field, Comma>
Trait Implementations
impl Clone for FieldsNamed
[src]
impl Clone for FieldsNamed
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<FieldsNamed> for Fields
[src]
impl From<FieldsNamed> for Fields
[src]fn from(e: FieldsNamed) -> Fields
[src]
impl Hash for FieldsNamed
[src]
impl Hash for FieldsNamed
[src]impl Parse for FieldsNamed
[src]
impl Parse for FieldsNamed
[src]fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl PartialEq<FieldsNamed> for FieldsNamed
[src]
impl PartialEq<FieldsNamed> for FieldsNamed
[src]impl ToTokens for FieldsNamed
[src]
impl ToTokens for FieldsNamed
[src]