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
sourceimpl Clone for GActionInterface
impl Clone for GActionInterface
sourcefn clone(&self) -> GActionInterface
fn clone(&self) -> GActionInterface
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 moresourceimpl Debug for GActionInterface
impl Debug for GActionInterface
impl Copy for GActionInterface
Auto Trait Implementations
impl RefUnwindSafe for GActionInterface
impl Send for GActionInterface
impl Sync for GActionInterface
impl Unpin for GActionInterface
impl UnwindSafe for GActionInterface
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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