#![allow( | |
dead_code, | |
non_snake_case, | |
non_camel_case_types, | |
non_upper_case_globals | |
)] | |
#[repr(C)] | |
pub struct Generic<T> { | |
pub t: [T; 40usize], | |
pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<T>>, | |
} | |
impl<T> Default for Generic<T> { | |
fn default() -> Self { | |
unsafe { ::std::mem::zeroed() } | |
} | |
} | |
#[repr(C)] | |
pub struct NoDefault<T> { | |
pub t: [T; 40usize], | |
pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<T>>, | |
} |