Struct libui_ng_sys::uiControl

source ·
#[repr(C)]
pub struct uiControl {
Show 14 fields pub Signature: u32, pub OSSignature: u32, pub TypeSignature: u32, pub Destroy: Option<unsafe extern "C" fn(arg1: *mut uiControl)>, pub Handle: Option<unsafe extern "C" fn(arg1: *mut uiControl) -> usize>, pub Parent: Option<unsafe extern "C" fn(arg1: *mut uiControl) -> *mut uiControl>, pub SetParent: Option<unsafe extern "C" fn(arg1: *mut uiControl, arg2: *mut uiControl)>, pub Toplevel: Option<unsafe extern "C" fn(arg1: *mut uiControl) -> c_int>, pub Visible: Option<unsafe extern "C" fn(arg1: *mut uiControl) -> c_int>, pub Show: Option<unsafe extern "C" fn(arg1: *mut uiControl)>, pub Hide: Option<unsafe extern "C" fn(arg1: *mut uiControl)>, pub Enabled: Option<unsafe extern "C" fn(arg1: *mut uiControl) -> c_int>, pub Enable: Option<unsafe extern "C" fn(arg1: *mut uiControl)>, pub Disable: Option<unsafe extern "C" fn(arg1: *mut uiControl)>,
}

Fields§

§Signature: u32§OSSignature: u32§TypeSignature: u32§Destroy: Option<unsafe extern "C" fn(arg1: *mut uiControl)>§Handle: Option<unsafe extern "C" fn(arg1: *mut uiControl) -> usize>§Parent: Option<unsafe extern "C" fn(arg1: *mut uiControl) -> *mut uiControl>§SetParent: Option<unsafe extern "C" fn(arg1: *mut uiControl, arg2: *mut uiControl)>§Toplevel: Option<unsafe extern "C" fn(arg1: *mut uiControl) -> c_int>§Visible: Option<unsafe extern "C" fn(arg1: *mut uiControl) -> c_int>§Show: Option<unsafe extern "C" fn(arg1: *mut uiControl)>§Hide: Option<unsafe extern "C" fn(arg1: *mut uiControl)>§Enabled: Option<unsafe extern "C" fn(arg1: *mut uiControl) -> c_int>§Enable: Option<unsafe extern "C" fn(arg1: *mut uiControl)>§Disable: Option<unsafe extern "C" fn(arg1: *mut uiControl)>

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.