Type Alias GActionEntry

Source
pub type GActionEntry = _GActionEntry;

Aliased Type§

struct GActionEntry {
    pub name: *const i8,
    pub activate: Option<unsafe extern "C" fn(*mut _GSimpleAction, *mut _GVariant, *mut c_void)>,
    pub parameter_type: *const i8,
    pub state: *const i8,
    pub change_state: Option<unsafe extern "C" fn(*mut _GSimpleAction, *mut _GVariant, *mut c_void)>,
    pub padding: [u64; 3],
}

Fields§

§name: *const i8§activate: Option<unsafe extern "C" fn(*mut _GSimpleAction, *mut _GVariant, *mut c_void)>§parameter_type: *const i8§state: *const i8§change_state: Option<unsafe extern "C" fn(*mut _GSimpleAction, *mut _GVariant, *mut c_void)>§padding: [u64; 3]

Trait Implementations

Source§

impl Clone for _GActionEntry

Source§

fn clone(&self) -> _GActionEntry

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for _GActionEntry

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for _GActionEntry

Source§

fn eq(&self, other: &_GActionEntry) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for _GActionEntry

Source§

impl Eq for _GActionEntry

Source§

impl StructuralPartialEq for _GActionEntry