Struct gio_sys::GActionInterface
source · #[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: GTypeInterface
§get_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§
source§impl Clone for GActionInterface
impl Clone for GActionInterface
source§fn clone(&self) -> GActionInterface
fn clone(&self) -> GActionInterface
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more