pub trait PinDerefMut: Deref {
    // Required method
    fn pin_deref_mut(self: Pin<&mut Self>) -> &mut Self::Target;
}
Expand description

The equivalent of DerefMut for !Unpin types.

The target is unpinned. It doesn’t override dereference operations (like *smart_ptr).

Required Methods§

source

fn pin_deref_mut(self: Pin<&mut Self>) -> &mut Self::Target

Implementations on Foreign Types§

source§

impl<T: ?Sized> PinDerefMut for &mut T

source§

fn pin_deref_mut(self: Pin<&mut Self>) -> &mut Self::Target

Implementors§