Type Alias bevy_utils::BoxedFuture

source ·
pub type BoxedFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + 'a>>;
Expand description

An owned and dynamically typed Future used when you can’t statically type your result or need to add some indirection.

Aliased Type§

struct BoxedFuture<'a, T> { /* private fields */ }

Trait Implementations§

1.33.0 · source§

impl<P> Deref for Pin<P>where P: Deref,

§

type Target = <P as Deref>::Target

The resulting type after dereferencing.
source§

fn deref(&self) -> &<P as Deref>::Target

Dereferences the value.