Type Alias GDebugKey

Source
pub type GDebugKey = _GDebugKey;
Expand description

GDebugKey: @key: the string @value: the flag

Associates a string with a bit flag. Used in g_parse_debug_string().

Aliased Type§

struct GDebugKey {
    pub key: *const i8,
    pub value: u32,
}

Fields§

§key: *const i8§value: u32

Trait Implementations

Source§

impl Clone for _GDebugKey

Source§

fn clone(&self) -> _GDebugKey

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 _GDebugKey

Source§

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

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

impl PartialEq for _GDebugKey

Source§

fn eq(&self, other: &_GDebugKey) -> 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 _GDebugKey

Source§

impl Eq for _GDebugKey

Source§

impl StructuralPartialEq for _GDebugKey