#[repr(C)]struct RcBox<T: ?Sized> {
strong: Cell<usize>,
weak: Cell<usize>,
value: T,
}
Fields§
§strong: Cell<usize>
§weak: Cell<usize>
§value: T
Auto Trait Implementations§
impl<T> !RefUnwindSafe for RcBox<T>
impl<T: ?Sized> Send for RcBox<T>where T: Send,
impl<T> !Sync for RcBox<T>
impl<T: ?Sized> Unpin for RcBox<T>where T: Unpin,
impl<T: ?Sized> UnwindSafe for RcBox<T>where T: UnwindSafe,
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