Searched refs:iter_fields (Results 1 – 4 of 4) sorted by relevance
235 for field in packet_scope.iter_fields() { in generate_data_struct()251 generate_packet_size_getter(scope, packet_scope.iter_fields(), is_packet); in generate_data_struct()265 packet_scope.iter_fields().filter(|f| f.id().is_some()).collect::<Vec<_>>(); in generate_data_struct()416 if scope.scopes[parent].iter_fields().any(|ff| ff.id() == f.id()) { in generate_packet_decl()443 parent_packet_scope.iter_fields().filter_map(ast::Field::id).collect::<Vec<_>>(); in generate_packet_decl()
75 pub fn iter_fields(&self) -> impl Iterator<Item = &'d analyzer_ast::Field> { in iter_fields() method
262 pub fn iter_fields<'s>( in iter_fields() method743 match scope.iter_fields(decl).find(|field| field.id() == Some(&constraint.id)) { in check_constraints()
238 let mut fields = packet_scope.iter_fields(); in payload_field_offset_from_end()