Struct muse_lang::runtime::value::AsyncFunction
source · pub struct AsyncFunction(/* private fields */);Expand description
An asynchronous Rust function that can be stored in a Value and called.
Implementations§
source§impl AsyncFunction
impl AsyncFunction
Trait Implementations§
source§impl Clone for AsyncFunction
impl Clone for AsyncFunction
source§fn clone(&self) -> AsyncFunction
fn clone(&self) -> AsyncFunction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl CustomType for AsyncFunction
impl CustomType for AsyncFunction
source§impl Debug for AsyncFunction
impl Debug for AsyncFunction
impl ContainsNoRefs for AsyncFunction
Auto Trait Implementations§
impl Freeze for AsyncFunction
impl !RefUnwindSafe for AsyncFunction
impl Send for AsyncFunction
impl Sync for AsyncFunction
impl Unpin for AsyncFunction
impl !UnwindSafe for AsyncFunction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<A> Cast for A
impl<A> Cast for A
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)