Struct qmetaobject::QObjectBox
source · pub struct QObjectBox<T: QObject + ?Sized>(/* private fields */);
Expand description
A wrapper around RefCell
Implementations§
source§impl<T: QObject + ?Sized> QObjectBox<T>
impl<T: QObject + ?Sized> QObjectBox<T>
pub fn pinned(&self) -> QObjectPinned<'_, T>
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for QObjectBox<T>
impl<T: ?Sized> Send for QObjectBox<T>where
T: Send,
impl<T> !Sync for QObjectBox<T>
impl<T: ?Sized> Unpin for QObjectBox<T>
impl<T: ?Sized> UnwindSafe for QObjectBox<T>where
T: UnwindSafe,
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