blob: fda94f997292b724a8c90e3465bdec8836cd926e [file] [log] [blame]
/* automatically generated by rust-bindgen */
#![allow(dead_code, non_snake_case, non_camel_case_types, non_upper_case_globals)]
/// This struct should derive `Clone`.
#[repr(C)]
#[derive(Copy, Clone)]
pub struct ShouldDeriveClone {
pub large: [::std::os::raw::c_int; 33usize],
}
#[test]
fn bindgen_test_layout_ShouldDeriveClone() {
assert_eq!(
::std::mem::size_of::<ShouldDeriveClone>(),
132usize,
concat!("Size of: ", stringify!(ShouldDeriveClone))
);
assert_eq!(
::std::mem::align_of::<ShouldDeriveClone>(),
4usize,
concat!("Alignment of ", stringify!(ShouldDeriveClone))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<ShouldDeriveClone>())).large as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(ShouldDeriveClone),
"::",
stringify!(large)
)
);
}
impl Default for ShouldDeriveClone {
fn default() -> Self {
unsafe { ::std::mem::zeroed() }
}
}