Debian Codegraph @

debian/missing-sources/zerocopy-derive/src/output_tests/expected/into_bytes_struct_trailing.expected.rs

raw
1 #[allow(
2 deprecated,
3 private_bounds,
4 non_local_definitions,
5 non_camel_case_types,
6 non_upper_case_globals,
7 non_snake_case,
8 non_ascii_idents,
9 clippy::missing_inline_in_public_items,
10 )]
11 #[deny(ambiguous_associated_items)]
12 #[automatically_derived]
13 const _: () = {
14 unsafe impl ::zerocopy::IntoBytes for Foo
15 where
16 u8: ::zerocopy::IntoBytes,
17 [Trailing]: ::zerocopy::IntoBytes,
18 (): ::zerocopy::util::macro_util::DynamicPaddingFree<
19 Self,
20 { ::zerocopy::repr_c_struct_has_padding!(Self, [(u8), ([Trailing])]) },
21 >,
22 {
23 fn only_derive_is_allowed_to_implement_this_trait() {}
24 }
25 };