Struct glib::subclass::types::PrivateStruct
source · struct PrivateStruct<T: ObjectSubclass> {
imp: T,
instance_data: Option<BTreeMap<Type, Box<dyn Any + Send + Sync>>>,
}
Expand description
Struct used for the instance private data of the GObject.
Fields§
§imp: T
§instance_data: Option<BTreeMap<Type, Box<dyn Any + Send + Sync>>>
Auto Trait Implementations§
impl<T> Freeze for PrivateStruct<T>where
T: Freeze,
impl<T> !RefUnwindSafe for PrivateStruct<T>
impl<T> Send for PrivateStruct<T>where
T: Send,
impl<T> Sync for PrivateStruct<T>where
T: Sync,
impl<T> Unpin for PrivateStruct<T>where
T: Unpin,
impl<T> !UnwindSafe for PrivateStruct<T>
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