Struct gio_sys::GActionEntry
source · #[repr(C)]pub struct GActionEntry {
pub name: *const c_char,
pub activate: Option<unsafe extern "C" fn(_: *mut GSimpleAction, _: *mut GVariant, _: gpointer)>,
pub parameter_type: *const c_char,
pub state: *const c_char,
pub change_state: Option<unsafe extern "C" fn(_: *mut GSimpleAction, _: *mut GVariant, _: gpointer)>,
pub padding: [size_t; 3],
}
Fields§
§name: *const c_char
§activate: Option<unsafe extern "C" fn(_: *mut GSimpleAction, _: *mut GVariant, _: gpointer)>
§parameter_type: *const c_char
§state: *const c_char
§change_state: Option<unsafe extern "C" fn(_: *mut GSimpleAction, _: *mut GVariant, _: gpointer)>
§padding: [size_t; 3]
Trait Implementations§
source§impl Clone for GActionEntry
impl Clone for GActionEntry
source§fn clone(&self) -> GActionEntry
fn clone(&self) -> GActionEntry
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 GActionEntry
impl Debug for GActionEntry
impl Copy for GActionEntry
Auto Trait Implementations§
impl Freeze for GActionEntry
impl RefUnwindSafe for GActionEntry
impl !Send for GActionEntry
impl !Sync for GActionEntry
impl Unpin for GActionEntry
impl UnwindSafe for GActionEntry
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)