Lines Matching refs:Pin
153 use core::pin::Pin;
265 pub fn pin(x: T) -> Pin<Box<T>> { in pin()
553 pub const fn pin_in(x: T, alloc: A) -> Pin<Self> in pin_in()
1170 pub const fn into_pin(boxed: Self) -> Pin<Self> in into_pin()
1177 unsafe { Pin::new_unchecked(boxed) } in into_pin()
1407 impl<T: ?Sized, A: Allocator> const From<Box<T, A>> for Pin<Box<T, A>> implementation
1987 fn resume(mut self: Pin<&mut Self>, arg: R) -> GeneratorState<Self::Yield, Self::Return> { in resume()
1988 G::resume(Pin::new(&mut *self), arg) in resume()
1993 impl<G: ?Sized + Generator<R>, R, A: Allocator> Generator<R> for Pin<Box<G, A>> implementation
2000 fn resume(mut self: Pin<&mut Self>, arg: R) -> GeneratorState<Self::Yield, Self::Return> { in resume()
2012 fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> { in poll()
2013 F::poll(Pin::new(&mut *self), cx) in poll()
2021 fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> { in poll_next()
2022 Pin::new(&mut **self).poll_next(cx) in poll_next()