Type Alias GEnumValue

Source
pub type GEnumValue = _GEnumValue;
Expand description

GEnumValue: @value: the enum value @value_name: the name of the value @value_nick: the nickname of the value

A structure which contains a single enum value, its name, and its nickname.

Aliased Type§

struct GEnumValue {
    pub value: i32,
    pub value_name: *const i8,
    pub value_nick: *const i8,
}

Fields§

§value: i32§value_name: *const i8§value_nick: *const i8

Trait Implementations

Source§

impl Clone for _GEnumValue

Source§

fn clone(&self) -> _GEnumValue

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 _GEnumValue

Source§

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

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

impl PartialEq for _GEnumValue

Source§

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

Source§

impl Eq for _GEnumValue

Source§

impl StructuralPartialEq for _GEnumValue