Searched refs:is_transparent (Results 1 – 4 of 4) sorted by relevance
24 let is_transparent = repr.is_transparent(); in derive_into_bytes_struct() localVariable29 let (padding_check, require_unaligned_fields) = if is_transparent || is_packed_1 { in derive_into_bytes_struct()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()
112 if !(repr.is_c() || repr.is_transparent()) { in derive_split_at()
112 pub(crate) fn is_transparent(&self) -> bool { in is_transparent() method