• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #![allow(
2     dead_code,
3     non_snake_case,
4     non_camel_case_types,
5     non_upper_case_globals
6 )]
7 
8 /// <div rustbindgen nodefault></div>
9 #[repr(C)]
10 #[derive(Debug, Copy, Clone)]
11 pub struct DefaultButWait {
12     pub whatever: ::std::os::raw::c_int,
13 }
14 #[repr(C)]
15 #[derive(Debug, Copy, Clone)]
16 pub struct DefaultButWaitDerived {
17     pub whatever: DefaultButWait,
18 }
19 impl Default for DefaultButWaitDerived {
default() -> Self20     fn default() -> Self {
21         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
22         unsafe {
23             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
24             s.assume_init()
25         }
26     }
27 }
28