Struct syn::FieldsUnnamed
source · [−]pub struct FieldsUnnamed {
pub paren_token: Paren,
pub unnamed: Punctuated<Field, Comma>,
}
Expand description
Unnamed fields of a tuple struct or tuple variant such as Some(T)
.
This type is available only if Syn is built with the "derive"
or
"full"
feature.
Fields
paren_token: Paren
unnamed: Punctuated<Field, Comma>
Trait Implementations
sourceimpl From<FieldsUnnamed> for Fields
impl From<FieldsUnnamed> for Fields
sourcefn from(e: FieldsUnnamed) -> Fields
fn from(e: FieldsUnnamed) -> Fields
Converts to this type from the input type.
sourceimpl Parse for FieldsUnnamed
impl Parse for FieldsUnnamed
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations
impl RefUnwindSafe for FieldsUnnamed
impl !Send for FieldsUnnamed
impl !Sync for FieldsUnnamed
impl Unpin for FieldsUnnamed
impl UnwindSafe for FieldsUnnamed
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more