| /* automatically generated by rust-bindgen */ |
| |
| |
| #![allow(non_snake_case)] |
| |
| |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone)] |
| pub struct DataType<_Tp> { |
| pub _address: u8, |
| pub _phantom_0: ::std::marker::PhantomData<_Tp>, |
| } |
| pub type DataType_value_type<_Tp> = _Tp; |
| pub type DataType_work_type<_Tp> = DataType_value_type<_Tp>; |
| pub type DataType_channel_type<_Tp> = DataType_value_type<_Tp>; |
| pub type DataType_vec_type<_Tp> = DataType_value_type<_Tp>; |
| pub const DataType_generic_type: DataType__bindgen_ty_1 = |
| DataType__bindgen_ty_1::generic_type; |
| pub const DataType_depth: DataType__bindgen_ty_1 = |
| DataType__bindgen_ty_1::generic_type; |
| pub const DataType_channels: DataType__bindgen_ty_1 = |
| DataType__bindgen_ty_1::generic_type; |
| pub const DataType_fmt: DataType__bindgen_ty_1 = |
| DataType__bindgen_ty_1::generic_type; |
| pub const DataType_type_: DataType__bindgen_ty_1 = |
| DataType__bindgen_ty_1::generic_type; |
| #[repr(i32)] |
| #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] |
| pub enum DataType__bindgen_ty_1 { generic_type = 0, } |
| impl <_Tp> Default for DataType<_Tp> { |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy)] |
| pub struct Foo { |
| pub _address: u8, |
| } |
| pub const Foo_Bar: Foo__bindgen_ty_1 = Foo__bindgen_ty_1::Bar; |
| pub const Foo_Baz: Foo__bindgen_ty_1 = Foo__bindgen_ty_1::Bar; |
| #[repr(u32)] |
| #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] |
| pub enum Foo__bindgen_ty_1 { Bar = 0, } |
| #[test] |
| fn bindgen_test_layout_Foo() { |
| assert_eq!(::std::mem::size_of::<Foo>() , 1usize , concat ! ( |
| "Size of: " , stringify ! ( Foo ) )); |
| assert_eq! (::std::mem::align_of::<Foo>() , 1usize , concat ! ( |
| "Alignment of " , stringify ! ( Foo ) )); |
| } |
| impl Clone for Foo { |
| fn clone(&self) -> Self { *self } |
| } |