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

source§

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)

Performs copy-assignment from source. Read more
source§

impl Copy for _bindgen_ty_1

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.