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§
Source§impl AsyncFunctionExpr
impl AsyncFunctionExpr
Sourcepub fn parameters(&self) -> &[FormalParameter]
pub fn parameters(&self) -> &[FormalParameter]
Gets the list of parameters of the function declaration.
Trait Implementations§
Source§impl Clone for AsyncFunctionExpr
impl Clone for AsyncFunctionExpr
Source§fn clone(&self) -> AsyncFunctionExpr
fn clone(&self) -> AsyncFunctionExpr
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 AsyncFunctionExpr
impl Debug for AsyncFunctionExpr
Source§impl Display for AsyncFunctionExpr
impl Display for AsyncFunctionExpr
Source§impl Drop for AsyncFunctionExpr
impl Drop for AsyncFunctionExpr
Source§impl Executable for AsyncFunctionExpr
impl Executable for AsyncFunctionExpr
Source§impl From<AsyncFunctionExpr> for Node
impl From<AsyncFunctionExpr> for Node
Source§fn from(expr: AsyncFunctionExpr) -> Self
fn from(expr: AsyncFunctionExpr) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AsyncFunctionExpr
impl PartialEq for AsyncFunctionExpr
Source§impl Trace for AsyncFunctionExpr
impl Trace for AsyncFunctionExpr
Source§fn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects
impl StructuralPartialEq for AsyncFunctionExpr
Auto Trait Implementations§
impl Freeze for AsyncFunctionExpr
impl RefUnwindSafe for AsyncFunctionExpr
impl !Send for AsyncFunctionExpr
impl !Sync for AsyncFunctionExpr
impl Unpin for AsyncFunctionExpr
impl UnwindSafe for AsyncFunctionExpr
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