pub struct WrappedWithData<T, D> { /* private fields */ }Expand description
Dereferences to a Ruby value. Makes sure the underlying data is not dropped.
Trait Implementations§
Source§impl<T, D> AsRef<T> for WrappedWithData<T, D>
impl<T, D> AsRef<T> for WrappedWithData<T, D>
Auto Trait Implementations§
impl<T, D> Freeze for WrappedWithData<T, D>
impl<T, D> RefUnwindSafe for WrappedWithData<T, D>where
T: RefUnwindSafe,
D: RefUnwindSafe,
impl<T, D> Send for WrappedWithData<T, D>
impl<T, D> Sync for WrappedWithData<T, D>
impl<T, D> Unpin for WrappedWithData<T, D>
impl<T, D> UnsafeUnpin for WrappedWithData<T, D>where
T: UnsafeUnpin,
D: UnsafeUnpin,
impl<T, D> UnwindSafe for WrappedWithData<T, D>where
T: UnwindSafe,
D: 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