pub struct RcCellWeak<T>(/* private fields */);
Expand description
Equivalent to Weak<RefCell<T>>
but with one fewer type.
All undocumented methods are equivalent to the Rc
function of identical name.
Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for RcCellWeak<T>
impl<T: Clone> Clone for RcCellWeak<T>
Source§fn clone(&self) -> RcCellWeak<T>
fn clone(&self) -> RcCellWeak<T>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Debug> Debug for RcCellWeak<T>
impl<T: Debug> Debug for RcCellWeak<T>
Source§impl<T: Default> Default for RcCellWeak<T>
impl<T: Default> Default for RcCellWeak<T>
Source§fn default() -> RcCellWeak<T>
fn default() -> RcCellWeak<T>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<T> Freeze for RcCellWeak<T>
impl<T> !RefUnwindSafe for RcCellWeak<T>
impl<T> !Send for RcCellWeak<T>
impl<T> !Sync for RcCellWeak<T>
impl<T> Unpin for RcCellWeak<T>
impl<T> !UnwindSafe for RcCellWeak<T>
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