Struct gdnative_async::Async
source · [−]pub struct Async<F> { /* private fields */ }
Expand description
Adapter for async methods that implements Method
and can be registered.
Implementations
Trait Implementations
sourceimpl<C: NativeClass, F: AsyncMethod<C>> Method<C> for Async<F>
impl<C: NativeClass, F: AsyncMethod<C>> Method<C> for Async<F>
impl<F: Copy> Copy for Async<F>
Auto Trait Implementations
impl<F> RefUnwindSafe for Async<F>where
F: RefUnwindSafe,
impl<F> Send for Async<F>where
F: Send,
impl<F> Sync for Async<F>where
F: Sync,
impl<F> Unpin for Async<F>where
F: Unpin,
impl<F> UnwindSafe for Async<F>where
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more