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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl 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 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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more