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> Freeze for VWeakMapped<VTable, MappedType>where
MappedType: ?Sized,
impl<VTable, MappedType> RefUnwindSafe for VWeakMapped<VTable, MappedType>
impl<VTable, MappedType> !Send for VWeakMapped<VTable, MappedType>
impl<VTable, MappedType> !Sync for VWeakMapped<VTable, MappedType>
impl<VTable, MappedType> Unpin for VWeakMapped<VTable, MappedType>where
MappedType: ?Sized,
impl<VTable, MappedType> 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