pub struct AsyncFunctionDecl { /* private fields */ }
Expand description
An async function is used to specify an action (or series of actions) to perform asynchronously.
More information:
Implementations§
Source§impl AsyncFunctionDecl
impl AsyncFunctionDecl
Sourcepub fn parameters(&self) -> &[FormalParameter]
pub fn parameters(&self) -> &[FormalParameter]
Gets the list of parameters of the async function declaration.
Trait Implementations§
Source§impl Clone for AsyncFunctionDecl
impl Clone for AsyncFunctionDecl
Source§fn clone(&self) -> AsyncFunctionDecl
fn clone(&self) -> AsyncFunctionDecl
Returns a duplicate 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 Debug for AsyncFunctionDecl
impl Debug for AsyncFunctionDecl
Source§impl Display for AsyncFunctionDecl
impl Display for AsyncFunctionDecl
Source§impl Drop for AsyncFunctionDecl
impl Drop for AsyncFunctionDecl
Source§impl Executable for AsyncFunctionDecl
impl Executable for AsyncFunctionDecl
Source§impl From<AsyncFunctionDecl> for Node
impl From<AsyncFunctionDecl> for Node
Source§fn from(decl: AsyncFunctionDecl) -> Self
fn from(decl: AsyncFunctionDecl) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AsyncFunctionDecl
impl PartialEq for AsyncFunctionDecl
Source§impl Trace for AsyncFunctionDecl
impl Trace for AsyncFunctionDecl
Source§fn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects
impl StructuralPartialEq for AsyncFunctionDecl
Auto Trait Implementations§
impl Freeze for AsyncFunctionDecl
impl RefUnwindSafe for AsyncFunctionDecl
impl !Send for AsyncFunctionDecl
impl !Sync for AsyncFunctionDecl
impl Unpin for AsyncFunctionDecl
impl UnwindSafe for AsyncFunctionDecl
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