pub struct Rc(/* private fields */);Expand description
Local (thread-unsafe) reference counter.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Rc
impl !RefUnwindSafe for Rc
impl Send for Rc
impl !Sync for Rc
impl Unpin for Rc
impl UnsafeUnpin for Rc
impl UnwindSafe for Rc
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