pub enum DefineKind {
Show 13 variants
Type,
TypeWithCode,
TypeWithPrivate,
FinalType,
FinalTypeWithCode,
FinalTypeWithPrivate,
AbstractType,
AbstractTypeWithCode,
AbstractTypeWithPrivate,
Interface,
InterfaceWithCode,
TypeExtended,
Pointer,
}Expand description
Which G_DEFINE_* (non-boxed, non-pointer, non-extended) variant was used
Variants§
Type
TypeWithCode
TypeWithPrivate
FinalType
FinalTypeWithCode
FinalTypeWithPrivate
AbstractType
AbstractTypeWithCode
AbstractTypeWithPrivate
Interface
InterfaceWithCode
TypeExtended
G_DEFINE_TYPE_EXTENDED
Pointer
G_DEFINE_POINTER_TYPE
Trait Implementations§
Source§impl Clone for DefineKind
impl Clone for DefineKind
Source§fn clone(&self) -> DefineKind
fn clone(&self) -> DefineKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DefineKind
impl Debug for DefineKind
Source§impl PartialEq for DefineKind
impl PartialEq for DefineKind
Source§fn eq(&self, other: &DefineKind) -> bool
fn eq(&self, other: &DefineKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DefineKind
impl Serialize for DefineKind
impl Eq for DefineKind
impl StructuralPartialEq for DefineKind
Auto Trait Implementations§
impl Freeze for DefineKind
impl RefUnwindSafe for DefineKind
impl Send for DefineKind
impl Sync for DefineKind
impl Unpin for DefineKind
impl UnsafeUnpin for DefineKind
impl UnwindSafe for DefineKind
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