pub struct RcVal(/* private fields */);Expand description
A newtype so the drop can be iterative: lists are unbounded in depth and
derived glue overflows. On the pointer, since on Val it would forbid
destructuring.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RcVal
impl !RefUnwindSafe for RcVal
impl Send for RcVal
impl Sync for RcVal
impl Unpin for RcVal
impl !UnwindSafe for RcVal
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