Struct boa::syntax::ast::node::declaration::async_function_expr::AsyncFunctionExpr
source · [−]pub struct AsyncFunctionExpr { /* private fields */ }
Expand description
An async function expression is very similar to an async function declaration except used within a wider expression (for example during an assignment).
More information:
Implementations
sourceimpl AsyncFunctionExpr
impl AsyncFunctionExpr
sourcepub fn parameters(&self) -> &[FormalParameter]
pub fn parameters(&self) -> &[FormalParameter]
Gets the list of parameters of the function declaration.
Trait Implementations
sourceimpl Clone for AsyncFunctionExpr
impl Clone for AsyncFunctionExpr
sourcefn clone(&self) -> AsyncFunctionExpr
fn clone(&self) -> AsyncFunctionExpr
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 AsyncFunctionExpr
impl Debug for AsyncFunctionExpr
sourceimpl Display for AsyncFunctionExpr
impl Display for AsyncFunctionExpr
sourceimpl Drop for AsyncFunctionExpr
impl Drop for AsyncFunctionExpr
sourceimpl Executable for AsyncFunctionExpr
impl Executable for AsyncFunctionExpr
sourceimpl Finalize for AsyncFunctionExpr
impl Finalize for AsyncFunctionExpr
sourceimpl From<AsyncFunctionExpr> for Node
impl From<AsyncFunctionExpr> for Node
sourcefn from(expr: AsyncFunctionExpr) -> Self
fn from(expr: AsyncFunctionExpr) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<AsyncFunctionExpr> for AsyncFunctionExpr
impl PartialEq<AsyncFunctionExpr> for AsyncFunctionExpr
sourcefn eq(&self, other: &AsyncFunctionExpr) -> bool
fn eq(&self, other: &AsyncFunctionExpr) -> bool
sourceimpl Trace for AsyncFunctionExpr
impl Trace for AsyncFunctionExpr
sourcefn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects Read more
impl StructuralPartialEq for AsyncFunctionExpr
Auto Trait Implementations
impl RefUnwindSafe for AsyncFunctionExpr
impl !Send for AsyncFunctionExpr
impl !Sync for AsyncFunctionExpr
impl Unpin for AsyncFunctionExpr
impl UnwindSafe for AsyncFunctionExpr
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