pub enum GType {
None,
Identifier(String),
Call(String),
}Expand description
A GLib GType reference — either a macro/define or a _get_type() call.
Variants§
None
G_TYPE_NONE — void / no return value.
Identifier(String)
A macro or #define like G_TYPE_BOOLEAN or GTK_TYPE_WIDGET.
Call(String)
A _get_type() function call; stores the function name (e.g.
"gtk_widget_get_type").
Implementations§
Trait Implementations§
impl Eq for GType
impl StructuralPartialEq for GType
Auto Trait Implementations§
impl Freeze for GType
impl RefUnwindSafe for GType
impl Send for GType
impl Sync for GType
impl Unpin for GType
impl UnsafeUnpin for GType
impl UnwindSafe for GType
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