Struct sdl2_sys::_bindgen_ty_1
source · [−]#[repr(C)]pub struct _bindgen_ty_1 {Show 44 fields
pub ext_data: *mut XExtData,
pub private1: *mut _XPrivate,
pub fd: c_int,
pub private2: c_int,
pub proto_major_version: c_int,
pub proto_minor_version: c_int,
pub vendor: *mut c_char,
pub private3: XID,
pub private4: XID,
pub private5: XID,
pub private6: c_int,
pub resource_alloc: Option<unsafe extern "C" fn(arg1: *mut _XDisplay) -> XID>,
pub byte_order: c_int,
pub bitmap_unit: c_int,
pub bitmap_pad: c_int,
pub bitmap_bit_order: c_int,
pub nformats: c_int,
pub pixmap_format: *mut ScreenFormat,
pub private8: c_int,
pub release: c_int,
pub private9: *mut _XPrivate,
pub private10: *mut _XPrivate,
pub qlen: c_int,
pub last_request_read: c_ulong,
pub request: c_ulong,
pub private11: XPointer,
pub private12: XPointer,
pub private13: XPointer,
pub private14: XPointer,
pub max_request_size: c_uint,
pub db: *mut _XrmHashBucketRec,
pub private15: Option<unsafe extern "C" fn(arg1: *mut _XDisplay) -> c_int>,
pub display_name: *mut c_char,
pub default_screen: c_int,
pub nscreens: c_int,
pub screens: *mut Screen,
pub motion_buffer: c_ulong,
pub private16: c_ulong,
pub min_keycode: c_int,
pub max_keycode: c_int,
pub private17: XPointer,
pub private18: XPointer,
pub private19: c_int,
pub xdefaults: *mut c_char,
}Fields
ext_data: *mut XExtDataprivate1: *mut _XPrivatefd: c_intprivate2: c_intproto_major_version: c_intproto_minor_version: c_intvendor: *mut c_charprivate3: XIDprivate4: XIDprivate5: XIDprivate6: c_intresource_alloc: Option<unsafe extern "C" fn(arg1: *mut _XDisplay) -> XID>byte_order: c_intbitmap_unit: c_intbitmap_pad: c_intbitmap_bit_order: c_intnformats: c_intpixmap_format: *mut ScreenFormatprivate8: c_intrelease: c_intprivate9: *mut _XPrivateprivate10: *mut _XPrivateqlen: c_intlast_request_read: c_ulongrequest: c_ulongprivate11: XPointerprivate12: XPointerprivate13: XPointerprivate14: XPointermax_request_size: c_uintdb: *mut _XrmHashBucketRecprivate15: Option<unsafe extern "C" fn(arg1: *mut _XDisplay) -> c_int>display_name: *mut c_chardefault_screen: c_intnscreens: c_intscreens: *mut Screenmotion_buffer: c_ulongprivate16: c_ulongmin_keycode: c_intmax_keycode: c_intprivate17: XPointerprivate18: XPointerprivate19: c_intxdefaults: *mut c_charTrait Implementations
sourceimpl Clone for _bindgen_ty_1
impl Clone for _bindgen_ty_1
sourcefn clone(&self) -> _bindgen_ty_1
fn clone(&self) -> _bindgen_ty_1
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
impl Copy for _bindgen_ty_1
Auto Trait Implementations
impl RefUnwindSafe for _bindgen_ty_1
impl !Send for _bindgen_ty_1
impl !Sync for _bindgen_ty_1
impl Unpin for _bindgen_ty_1
impl UnwindSafe for _bindgen_ty_1
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more