pub struct Ref<A: ?Sized> { /* private fields */ }
Expand description
A helper type used for the first type parameter of the
state machine in case the argument (A
) is a mutable reference.
Auto Trait Implementations§
impl<A> Freeze for Ref<A>where
A: ?Sized,
impl<A> RefUnwindSafe for Ref<A>where
A: RefUnwindSafe + ?Sized,
impl<A> Send for Ref<A>
impl<A> Sync for Ref<A>
impl<A> Unpin for Ref<A>
impl<A> UnwindSafe for Ref<A>where
A: UnwindSafe + ?Sized,
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