pub type GFlagsClass = _GFlagsClass;
Expand description
GFlagsClass: @g_type_class: the parent class @mask: a mask covering all possible values. @n_values: the number of possible values. @values: an array of #GFlagsValue structs describing the individual values.
The class of a flags type holds information about its possible values.
Aliased Type§
struct GFlagsClass {
pub g_type_class: _GTypeClass,
pub mask: u32,
pub n_values: u32,
pub values: *mut _GFlagsValue,
}
Fields§
§g_type_class: _GTypeClass
§mask: u32
§n_values: u32
§values: *mut _GFlagsValue
Trait Implementations
Source§impl Clone for _GFlagsClass
impl Clone for _GFlagsClass
Source§fn clone(&self) -> _GFlagsClass
fn clone(&self) -> _GFlagsClass
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