[][src]Struct gtk_sys::GtkSwitchClass

#[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: GtkWidgetClassactivate: 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

impl Clone for GtkSwitchClass[src]

impl Copy for GtkSwitchClass[src]

impl Debug for GtkSwitchClass[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.