Searched refs:is_c (Results 1 – 6 of 6) sorted by relevance
25 let is_c = repr.is_c(); in derive_into_bytes_struct() localVariable47 } else if is_c && !repr.is_align_gt_1() && num_fields <= 1 { in derive_into_bytes_struct()68 if is_c && is_syntactic_dst { in derive_into_bytes_struct()73 } else if is_c && !repr.is_align_gt_1() { in derive_into_bytes_struct()103 if !repr.is_c() && !repr.is_primitive() { in derive_into_bytes_enum()153 if !repr.is_c() && !repr.is_transparent() && !repr.is_packed_1() { in derive_into_bytes_union()
30 } else if repr.is_c() || repr.is_transparent() { in derive_unaligned_struct()70 } else if repr.is_c() || repr.is_transparent() { in derive_unaligned_union()
206 let (outer_tag_type, inner_tag_type) = if repr.is_c() { in derive_is_bit_valid()471 .map(|repr| repr.is_c()) in derive_has_field_struct_union()608 StructUnionRepr::from_attrs(&ctx.ast.attrs).map(|repr| repr.is_c()).unwrap_or(false); in derive_try_from_bytes_union()
112 if !(repr.is_c() || repr.is_transparent()) { in derive_split_at()
256 if repr.is_c() { in derive()
116 pub(crate) fn is_c(&self) -> bool { in is_c() method