pub struct Rc<T> { /* private fields */ }
Expand description
A R
eference c
ounted container for T
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Rc<T>
impl<T> !RefUnwindSafe for Rc<T>
impl<T> !Send for Rc<T>
impl<T> !Sync for Rc<T>
impl<T> Unpin for Rc<T>where
T: Unpin,
impl<T> !UnwindSafe for Rc<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