Struct glib::subclass::types::InitializingType
source · pub struct InitializingType<T>(pub(crate) Type, pub(crate) PhantomData<*const T>);
Expand description
A newly registered glib::Type
that is currently still being initialized.
This allows running additional type-setup functions.
Tuple Fields§
§0: Type
§1: PhantomData<*const T>
Trait Implementations§
source§impl<T: Debug> Debug for InitializingType<T>
impl<T: Debug> Debug for InitializingType<T>
source§impl<T> IntoGlib for InitializingType<T>
impl<T> IntoGlib for InitializingType<T>
source§impl<T: PartialEq> PartialEq for InitializingType<T>
impl<T: PartialEq> PartialEq for InitializingType<T>
impl<T: Eq> Eq for InitializingType<T>
impl<T> StructuralPartialEq for InitializingType<T>
Auto Trait Implementations§
impl<T> Freeze for InitializingType<T>
impl<T> RefUnwindSafe for InitializingType<T>where
T: RefUnwindSafe,
impl<T> !Send for InitializingType<T>
impl<T> !Sync for InitializingType<T>
impl<T> Unpin for InitializingType<T>
impl<T> UnwindSafe for InitializingType<T>where
T: RefUnwindSafe,
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