#[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 moreSource§impl Debug for GActionInterface
impl Debug for GActionInterface
impl Copy for GActionInterface
Auto Trait Implementations§
impl Freeze for GActionInterface
impl RefUnwindSafe for GActionInterface
impl Send for GActionInterface
impl Sync for GActionInterface
impl Unpin for GActionInterface
impl UnwindSafe for GActionInterface
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)