Struct vtable::VWeakMapped
source · pub struct VWeakMapped<VTable: VTableMetaDropInPlace + 'static, MappedType: ?Sized> { /* private fields */ }
Expand description
VWeakMapped allows bundling a VWeak with a reference to an object that’s reachable
from the object a successfully upgraded VWeak points to. VWeakMapped’s API consists
only of the ability to create clones and to attempt upgrading back to a VRcMapped
.
Implementations§
source§impl<VTable: VTableMetaDropInPlace + 'static, MappedType: ?Sized> VWeakMapped<VTable, MappedType>
impl<VTable: VTableMetaDropInPlace + 'static, MappedType: ?Sized> VWeakMapped<VTable, MappedType>
Trait Implementations§
source§impl<VTable: VTableMetaDropInPlace + 'static, MappedType: ?Sized> Clone for VWeakMapped<VTable, MappedType>
impl<VTable: VTableMetaDropInPlace + 'static, MappedType: ?Sized> Clone for VWeakMapped<VTable, MappedType>
source§impl<VTable: VTableMetaDropInPlace + 'static, MappedType> Default for VWeakMapped<VTable, MappedType>
impl<VTable: VTableMetaDropInPlace + 'static, MappedType> Default for VWeakMapped<VTable, MappedType>
Auto Trait Implementations§
impl<VTable, MappedType: ?Sized> RefUnwindSafe for VWeakMapped<VTable, MappedType>
impl<VTable, MappedType> !Send for VWeakMapped<VTable, MappedType>
impl<VTable, MappedType> !Sync for VWeakMapped<VTable, MappedType>
impl<VTable, MappedType: ?Sized> Unpin for VWeakMapped<VTable, MappedType>
impl<VTable, MappedType: ?Sized> UnwindSafe for VWeakMapped<VTable, MappedType>
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