-
Notifications
You must be signed in to change notification settings - Fork 794
Expand file tree
/
Copy pathannotation_hide.rs
More file actions
26 lines (26 loc) · 897 Bytes
/
annotation_hide.rs
File metadata and controls
26 lines (26 loc) · 897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#![allow(dead_code, non_snake_case, non_camel_case_types, non_upper_case_globals)]
/// <div rustbindgen opaque></div>
#[repr(C)]
#[repr(align(4))]
#[derive(Clone, Copy, Debug, Default)]
pub struct D {
pub _bindgen_opaque_blob: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of D"][::std::mem::size_of::<D>() - 4usize];
["Alignment of D"][::std::mem::align_of::<D>() - 4usize];
};
#[repr(C)]
#[derive(Clone, Copy, Debug, Default)]
pub struct NotAnnotated {
pub f: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
["Size of NotAnnotated"][::std::mem::size_of::<NotAnnotated>() - 4usize];
["Alignment of NotAnnotated"][::std::mem::align_of::<NotAnnotated>() - 4usize];
[
"Offset of field: NotAnnotated::f",
][::std::mem::offset_of!(NotAnnotated, f) - 0usize];
};