Searched refs:struct_attrs (Results 1 – 4 of 4) sorted by relevance
144 let mut struct_attrs: Vec<TokenStream> = Vec::with_capacity(enum_.attrs.len() + 5); localVariable145 struct_attrs.push(quote!(#[allow(clippy::exhaustive_structs)]));221 struct_attrs.push(attr.to_token_stream());232 struct_attrs.push(quote!(#[repr(transparent)]));243 struct_attrs.push(quote!(#[derive(#(#extra_derives),*)]));281 #(#struct_attrs)*
9 $(#[$struct_attrs:meta])*13 $(#[$struct_attrs])*
400 let struct_attrs = AttrFormatter::new(&self.attrs) in to_tokens() localVariable429 #(#struct_attrs)* in to_tokens()
3213 const auto &struct_attrs = type.struct_def->attributes; in GenUnpackVal() local3214 const auto native_type = struct_attrs.Lookup("native_type"); in GenUnpackVal()3217 const auto pack_name = struct_attrs.Lookup("native_type_pack_name"); in GenUnpackVal()3478 const auto &struct_attrs = in GenCreateParam() local3480 const auto native_type = struct_attrs.Lookup("native_type"); in GenCreateParam()3487 struct_attrs.Lookup("native_type_pack_name"); in GenCreateParam()