Struct gio_sys::GActionGroupInterface
source · [−]#[repr(C)]pub struct GActionGroupInterface {Show 15 fields
pub g_iface: GTypeInterface,
pub has_action: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char) -> gboolean>,
pub list_actions: Option<unsafe extern "C" fn(_: *mut GActionGroup) -> *mut *mut c_char>,
pub get_action_enabled: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char) -> gboolean>,
pub get_action_parameter_type: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char) -> *const GVariantType>,
pub get_action_state_type: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char) -> *const GVariantType>,
pub get_action_state_hint: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char) -> *mut GVariant>,
pub get_action_state: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char) -> *mut GVariant>,
pub change_action_state: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char, _: *mut GVariant)>,
pub activate_action: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char, _: *mut GVariant)>,
pub action_added: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char)>,
pub action_removed: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char)>,
pub action_enabled_changed: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char, _: gboolean)>,
pub action_state_changed: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char, _: *mut GVariant)>,
pub query_action: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char, _: *mut gboolean, _: *mut *const GVariantType, _: *mut *const GVariantType, _: *mut *mut GVariant, _: *mut *mut GVariant) -> gboolean>,
}
Fields
g_iface: GTypeInterface
has_action: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char) -> gboolean>
list_actions: Option<unsafe extern "C" fn(_: *mut GActionGroup) -> *mut *mut c_char>
get_action_enabled: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char) -> gboolean>
get_action_parameter_type: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char) -> *const GVariantType>
get_action_state_type: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char) -> *const GVariantType>
get_action_state_hint: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char) -> *mut GVariant>
get_action_state: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char) -> *mut GVariant>
change_action_state: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char, _: *mut GVariant)>
activate_action: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char, _: *mut GVariant)>
action_added: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char)>
action_removed: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char)>
action_enabled_changed: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char, _: gboolean)>
action_state_changed: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char, _: *mut GVariant)>
query_action: Option<unsafe extern "C" fn(_: *mut GActionGroup, _: *const c_char, _: *mut gboolean, _: *mut *const GVariantType, _: *mut *const GVariantType, _: *mut *mut GVariant, _: *mut *mut GVariant) -> gboolean>
Trait Implementations
sourceimpl Clone for GActionGroupInterface
impl Clone for GActionGroupInterface
sourcefn clone(&self) -> GActionGroupInterface
fn clone(&self) -> GActionGroupInterface
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 GActionGroupInterface
impl Debug for GActionGroupInterface
impl Copy for GActionGroupInterface
Auto Trait Implementations
impl RefUnwindSafe for GActionGroupInterface
impl Send for GActionGroupInterface
impl Sync for GActionGroupInterface
impl Unpin for GActionGroupInterface
impl UnwindSafe for GActionGroupInterface
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