Lines Matching full:fields

21     fields: Punctuated<InitializerField, Token![,]>,  field
77 fields,
125 // The user specified `..Zeroable::zeroed()` at the end of the list of fields.
127 // This allows us to also remove the check that all fields are present (since we
142 // expressions creating the individual fields.
148 let init_fields = init_fields(&fields, pinned, &data, &slot);
149 let field_check = make_field_check(&fields, init_kind, &path);
151 // Get the data about fields from the supplied type.
219 /// Generate the code that initializes the fields of the struct using the initializers in `field`.
221 fields: &Punctuated<InitializerField, Token![,]>,
229 for InitializerField { attrs, kind } in fields {
247 // Unaligned fields will cause the compiler to emit E0793. We do not support
248 // unaligned fields since `Init::__init` requires an aligned pointer; the call to
278 // Unaligned fields will cause the compiler to emit E0793. We do not support
279 // unaligned fields since `Init::__init` requires an aligned pointer; the call to
355 // If execution reaches this point, all fields have been initialized. Therefore we can now
366 fields: &Punctuated<InitializerField, Token![,]>,
370 let field_attrs = fields
373 let field_name = fields.iter().filter_map(|f| f.kind.ident());
376 // We use unreachable code to ensure that all fields have been mentioned exactly once,
391 // We use unreachable code to ensure that all fields have been mentioned at most once.
392 // Since the user specified `..Zeroable::zeroed()` at the end, all missing fields will
417 let mut fields = Punctuated::new(); localVariable
423 fields.push_value(content.parse()?);
428 fields.push_punct(content.parse()?);
460 fields,