Struct boa::syntax::ast::node::declaration::async_function_decl::AsyncFunctionDecl
source · [−]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
sourceimpl 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
sourceimpl Clone for AsyncFunctionDecl
impl Clone for AsyncFunctionDecl
sourcefn clone(&self) -> AsyncFunctionDecl
fn clone(&self) -> AsyncFunctionDecl
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AsyncFunctionDecl
impl Debug for AsyncFunctionDecl
sourceimpl Display for AsyncFunctionDecl
impl Display for AsyncFunctionDecl
sourceimpl Drop for AsyncFunctionDecl
impl Drop for AsyncFunctionDecl
sourceimpl Executable for AsyncFunctionDecl
impl Executable for AsyncFunctionDecl
sourceimpl Finalize for AsyncFunctionDecl
impl Finalize for AsyncFunctionDecl
sourceimpl From<AsyncFunctionDecl> for Node
impl From<AsyncFunctionDecl> for Node
sourcefn from(decl: AsyncFunctionDecl) -> Self
fn from(decl: AsyncFunctionDecl) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<AsyncFunctionDecl> for AsyncFunctionDecl
impl PartialEq<AsyncFunctionDecl> for AsyncFunctionDecl
sourcefn eq(&self, other: &AsyncFunctionDecl) -> bool
fn eq(&self, other: &AsyncFunctionDecl) -> bool
sourceimpl Trace for AsyncFunctionDecl
impl Trace for AsyncFunctionDecl
sourcefn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects Read more
impl StructuralPartialEq for AsyncFunctionDecl
Auto Trait Implementations
impl RefUnwindSafe for AsyncFunctionDecl
impl !Send for AsyncFunctionDecl
impl !Sync for AsyncFunctionDecl
impl Unpin for AsyncFunctionDecl
impl UnwindSafe for AsyncFunctionDecl
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