Struct GEnumClass
#[repr(C)]pub struct GEnumClass {
pub g_type_class: GTypeClass,
pub minimum: i32,
pub maximum: i32,
pub n_values: u32,
pub values: *mut GEnumValue,
}Fields§
§g_type_class: GTypeClass§minimum: i32§maximum: i32§n_values: u32§values: *mut GEnumValueTrait Implementations§
§impl Clone for GEnumClass
impl Clone for GEnumClass
§fn clone(&self) -> GEnumClass
fn clone(&self) -> GEnumClass
Returns a duplicate 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§impl Debug for GEnumClass
impl Debug for GEnumClass
impl Copy for GEnumClass
Auto Trait Implementations§
impl Freeze for GEnumClass
impl RefUnwindSafe for GEnumClass
impl !Send for GEnumClass
impl !Sync for GEnumClass
impl Unpin for GEnumClass
impl UnwindSafe for GEnumClass
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more