in src/x86/bindings.rs [5287:5369]
fn bindgen_test_layout_kvm_hyperv_exit__bindgen_ty_1__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<kvm_hyperv_exit__bindgen_ty_1__bindgen_ty_1>(),
32usize,
concat!(
"Size of: ",
stringify!(kvm_hyperv_exit__bindgen_ty_1__bindgen_ty_1)
)
);
assert_eq!(
::std::mem::align_of::<kvm_hyperv_exit__bindgen_ty_1__bindgen_ty_1>(),
8usize,
concat!(
"Alignment of ",
stringify!(kvm_hyperv_exit__bindgen_ty_1__bindgen_ty_1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<kvm_hyperv_exit__bindgen_ty_1__bindgen_ty_1>())).msr as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(kvm_hyperv_exit__bindgen_ty_1__bindgen_ty_1),
"::",
stringify!(msr)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<kvm_hyperv_exit__bindgen_ty_1__bindgen_ty_1>())).pad2 as *const _
as usize
},
4usize,
concat!(
"Offset of field: ",
stringify!(kvm_hyperv_exit__bindgen_ty_1__bindgen_ty_1),
"::",
stringify!(pad2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<kvm_hyperv_exit__bindgen_ty_1__bindgen_ty_1>())).control
as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(kvm_hyperv_exit__bindgen_ty_1__bindgen_ty_1),
"::",
stringify!(control)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<kvm_hyperv_exit__bindgen_ty_1__bindgen_ty_1>())).evt_page
as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(kvm_hyperv_exit__bindgen_ty_1__bindgen_ty_1),
"::",
stringify!(evt_page)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<kvm_hyperv_exit__bindgen_ty_1__bindgen_ty_1>())).msg_page
as *const _ as usize
},
24usize,
concat!(
"Offset of field: ",
stringify!(kvm_hyperv_exit__bindgen_ty_1__bindgen_ty_1),
"::",
stringify!(msg_page)
)
);
}