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
sourceimpl Clone for GActionEntry
impl Clone for GActionEntry
sourcefn clone(&self) -> GActionEntry
fn clone(&self) -> GActionEntry
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 GActionEntry
impl Debug for GActionEntry
impl Copy for GActionEntry
Auto Trait Implementations
impl RefUnwindSafe for GActionEntry
impl !Send for GActionEntry
impl !Sync for GActionEntry
impl Unpin for GActionEntry
impl UnwindSafe for GActionEntry
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