pub fn fields(&self) -> impl Iterator<Item = &'_ (Field, Option<T![,]>)> {
        match self {
            ItemStructBody::UnitBody => IntoIterator::into_iter(&[]),
            ItemStructBody::TupleBody(body) => body.iter(),
            ItemStructBody::StructBody(body) => body.iter(),
        }
    }
/// Iterate over the fields of the body.
Iterate over the fields of the body.
Iterate over the fields of the body .
pub fn fields(&self) -> impl Iterator<Item = &'_ (Field, Option<T![,]>)> {
        match self {
            ItemStructBody::UnitBody => IntoIterator::into_iter(&[]),
            ItemStructBody::TupleBody(body) => body.iter(),
            ItemStructBody::StructBody(body) => body.iter(),
        }
    }
pub fn fields ( & self ) -> impl Iterator < Item = & ' _ ( Field , Option < T ! [ ] > ) > { match self { ItemStructBody :: UnitBody => IntoIterator :: into_iter ( & [ ] ) , ItemStructBody :: TupleBody ( body ) => body . iter ( ) , ItemStructBody :: StructBody ( body ) => body . iter ( ) , } }
Iterate over the fields of the body.
Iterate over the fields of the body .
&self
&self