Struct gtk_sys::GtkSwitchClass
source · [−]#[repr(C)]pub struct GtkSwitchClass {
pub parent_class: GtkWidgetClass,
pub activate: Option<unsafe extern "C" fn(_: *mut GtkSwitch)>,
pub state_set: Option<unsafe extern "C" fn(_: *mut GtkSwitch, _: gboolean) -> gboolean>,
pub _switch_padding_1: Option<unsafe extern "C" fn()>,
pub _switch_padding_2: Option<unsafe extern "C" fn()>,
pub _switch_padding_3: Option<unsafe extern "C" fn()>,
pub _switch_padding_4: Option<unsafe extern "C" fn()>,
pub _switch_padding_5: Option<unsafe extern "C" fn()>,
}
Fields
parent_class: GtkWidgetClass
activate: Option<unsafe extern "C" fn(_: *mut GtkSwitch)>
state_set: Option<unsafe extern "C" fn(_: *mut GtkSwitch, _: gboolean) -> gboolean>
_switch_padding_1: Option<unsafe extern "C" fn()>
_switch_padding_2: Option<unsafe extern "C" fn()>
_switch_padding_3: Option<unsafe extern "C" fn()>
_switch_padding_4: Option<unsafe extern "C" fn()>
_switch_padding_5: Option<unsafe extern "C" fn()>
Trait Implementations
sourceimpl Clone for GtkSwitchClass
impl Clone for GtkSwitchClass
sourcefn clone(&self) -> GtkSwitchClass
fn clone(&self) -> GtkSwitchClass
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GtkSwitchClass
impl Debug for GtkSwitchClass
impl Copy for GtkSwitchClass
Auto Trait Implementations
impl RefUnwindSafe for GtkSwitchClass
impl !Send for GtkSwitchClass
impl !Sync for GtkSwitchClass
impl Unpin for GtkSwitchClass
impl UnwindSafe for GtkSwitchClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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