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 more