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 XExtData
§private1: *mut _XPrivate
§fd: c_int
§private2: c_int
§proto_major_version: c_int
§proto_minor_version: c_int
§vendor: *mut c_char
§private3: XID
§private4: XID
§private5: XID
§private6: c_int
§resource_alloc: Option<unsafe extern "C" fn(arg1: *mut _XDisplay) -> XID>
§byte_order: c_int
§bitmap_unit: c_int
§bitmap_pad: c_int
§bitmap_bit_order: c_int
§nformats: c_int
§pixmap_format: *mut ScreenFormat
§private8: c_int
§release: c_int
§private9: *mut _XPrivate
§private10: *mut _XPrivate
§qlen: c_int
§last_request_read: c_ulong
§request: c_ulong
§private11: XPointer
§private12: XPointer
§private13: XPointer
§private14: XPointer
§max_request_size: c_uint
§db: *mut _XrmHashBucketRec
§private15: Option<unsafe extern "C" fn(arg1: *mut _XDisplay) -> c_int>
§display_name: *mut c_char
§default_screen: c_int
§nscreens: c_int
§screens: *mut Screen
§motion_buffer: c_ulong
§private16: c_ulong
§min_keycode: c_int
§max_keycode: c_int
§private17: XPointer
§private18: XPointer
§private19: c_int
§xdefaults: *mut c_char
Trait Implementations§
source§impl Clone for _bindgen_ty_1
impl Clone for _bindgen_ty_1
source§fn clone(&self) -> _bindgen_ty_1
fn clone(&self) -> _bindgen_ty_1
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for _bindgen_ty_1
Auto Trait Implementations§
impl Freeze for _bindgen_ty_1
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more