[][src]Struct gio_sys::GActionInterface

#[repr(C)]pub struct GActionInterface {
    pub g_iface: GTypeInterface,
    pub get_name: Option<unsafe extern "C" fn(_: *mut GAction) -> *const c_char>,
    pub get_parameter_type: Option<unsafe extern "C" fn(_: *mut GAction) -> *const GVariantType>,
    pub get_state_type: Option<unsafe extern "C" fn(_: *mut GAction) -> *const GVariantType>,
    pub get_state_hint: Option<unsafe extern "C" fn(_: *mut GAction) -> *mut GVariant>,
    pub get_enabled: Option<unsafe extern "C" fn(_: *mut GAction) -> gboolean>,
    pub get_state: Option<unsafe extern "C" fn(_: *mut GAction) -> *mut GVariant>,
    pub change_state: Option<unsafe extern "C" fn(_: *mut GAction, _: *mut GVariant)>,
    pub activate: Option<unsafe extern "C" fn(_: *mut GAction, _: *mut GVariant)>,
}

Fields

g_iface: GTypeInterfaceget_name: Option<unsafe extern "C" fn(_: *mut GAction) -> *const c_char>get_parameter_type: Option<unsafe extern "C" fn(_: *mut GAction) -> *const GVariantType>get_state_type: Option<unsafe extern "C" fn(_: *mut GAction) -> *const GVariantType>get_state_hint: Option<unsafe extern "C" fn(_: *mut GAction) -> *mut GVariant>get_enabled: Option<unsafe extern "C" fn(_: *mut GAction) -> gboolean>get_state: Option<unsafe extern "C" fn(_: *mut GAction) -> *mut GVariant>change_state: Option<unsafe extern "C" fn(_: *mut GAction, _: *mut GVariant)>activate: Option<unsafe extern "C" fn(_: *mut GAction, _: *mut GVariant)>

Trait Implementations

impl Clone for GActionInterface[src]

impl Copy for GActionInterface[src]

impl Debug for GActionInterface[src]

Auto Trait Implementations

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.