pub struct ICoWWeak<ITEM: Sized> { /* private fields */ }Expand description
A independent from the ICoW instance, which is not binded to the lifetime
of the main instance. The value contains a read-only weak reference to ITEM.
If the weak reference become invalid, then a new copy will be obtained.
It should not be accessed from multiple threads simultaniously!
Implementations§
Trait Implementations§
impl<ITEM: Sized> Send for ICoWWeak<ITEM>
Auto Trait Implementations§
impl<ITEM> !Freeze for ICoWWeak<ITEM>
impl<ITEM> !RefUnwindSafe for ICoWWeak<ITEM>
impl<ITEM> !Sync for ICoWWeak<ITEM>
impl<ITEM> Unpin for ICoWWeak<ITEM>
impl<ITEM> UnwindSafe for ICoWWeak<ITEM>where
ITEM: RefUnwindSafe,
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