Lines Matching refs:Pin
17 /// use std::pin::Pin;
26 /// fn baz(mut self: Pin<&mut Self>) {
27 /// let _: Pin<&mut T> = self.field(); // Pinned reference to the field
35 /// avoid consuming the `Pin`.
44 self: $crate::core_reexport::pin::Pin<&'__a mut Self>
45 ) -> $crate::core_reexport::pin::Pin<&'__a mut $t> {
47 $crate::core_reexport::pin::Pin::map_unchecked_mut(
68 /// use std::pin::Pin;
78 /// fn baz(mut self: Pin<&mut Self>) {
85 /// avoid consuming the [`Pin`].
87 /// [`Pin`]: core::pin::Pin
93 self: $crate::core_reexport::pin::Pin<&'__a mut Self>
96 &mut $crate::core_reexport::pin::Pin::get_unchecked_mut(self).$f