#[repr(C)]pub struct _GFlagsClass {
pub g_type_class: GTypeClass,
pub mask: guint,
pub n_values: guint,
pub values: *mut GFlagsValue,
}
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.
Fields§
§g_type_class: GTypeClass
§mask: guint
§n_values: guint
§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 moreSource§impl Debug for _GFlagsClass
impl Debug for _GFlagsClass
Source§impl PartialEq for _GFlagsClass
impl PartialEq for _GFlagsClass
impl Copy for _GFlagsClass
impl Eq for _GFlagsClass
impl StructuralPartialEq for _GFlagsClass
Auto Trait Implementations§
impl Freeze for _GFlagsClass
impl RefUnwindSafe for _GFlagsClass
impl !Send for _GFlagsClass
impl !Sync for _GFlagsClass
impl Unpin for _GFlagsClass
impl UnwindSafe for _GFlagsClass
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more