fn parse_struct_decl_field(&mut self) -> StructField {

        let attrs = self.parse_outer_attributes();

        if self.eat_keyword(keywords::Priv) {
            return self.parse_single_struct_field(Private, attrs);
        }

        if self.eat_keyword(keywords::Pub) {
           return self.parse_single_struct_field(Public, attrs);
        }

        return self.parse_single_struct_field(Inherited, attrs);
    }
// parse an element of a struct definition
parse an element of a struct definition
parse an element of a struct definition
fn parse_struct_decl_field(&mut self) -> StructField {
        let attrs = self.parse_outer_attributes();
        if self.eat_keyword(keywords::Priv) {
            return self.parse_single_struct_field(Private, attrs);
        }
        if self.eat_keyword(keywords::Pub) {
           return self.parse_single_struct_field(Public, attrs);
        }
        return self.parse_single_struct_field(Inherited, attrs);
    }
fn parse_struct_decl_field ( & mut self ) -> StructField { let attrs = self . parse_outer_attributes ( ) ; if self . eat_keyword ( keywords :: Priv ) { return self . parse_single_struct_field ( Private , attrs ) ; } if self . eat_keyword ( keywords :: Pub ) { return self . parse_single_struct_field ( Public , attrs ) ; } return self . parse_single_struct_field ( Inherited , attrs ) ; }
parse an element of a struct definition
parse an element of a struct definition
&mut self
&mut self