Struct qmetaobject::QObjectBox
source · [−]Expand description
A wrapper around RefCell
Implementations
sourceimpl<T: QObject> QObjectBox<T>
impl<T: QObject> QObjectBox<T>
sourceimpl<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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more