Struct gdnative_async::Yield
source · pub struct Yield<T> { /* private fields */ }Expand description
Future that can be awaited for a signal or a resume call from Godot. See
Context for methods that return this future.
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Yield<T>
impl<T> Send for Yield<T>where
T: Send,
impl<T> Sync for Yield<T>where
T: Send,
impl<T> Unpin for Yield<T>where
T: Unpin,
impl<T> !UnwindSafe for Yield<T>
Blanket Implementations§
source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more