Struct boa::syntax::ast::node::declaration::arrow_function_decl::ArrowFunctionDecl
source · [−]pub struct ArrowFunctionDecl { /* private fields */ }
Expand description
An arrow function expression is a syntactically compact alternative to a regular function expression.
Arrow function expressions are ill suited as methods, and they cannot be used as constructors. Arrow functions cannot be used as constructors and will throw an error when used with new.
More information:
Trait Implementations
sourceimpl Clone for ArrowFunctionDecl
impl Clone for ArrowFunctionDecl
sourcefn clone(&self) -> ArrowFunctionDecl
fn clone(&self) -> ArrowFunctionDecl
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 ArrowFunctionDecl
impl Debug for ArrowFunctionDecl
sourceimpl Display for ArrowFunctionDecl
impl Display for ArrowFunctionDecl
sourceimpl Drop for ArrowFunctionDecl
impl Drop for ArrowFunctionDecl
sourceimpl Executable for ArrowFunctionDecl
impl Executable for ArrowFunctionDecl
sourceimpl Finalize for ArrowFunctionDecl
impl Finalize for ArrowFunctionDecl
sourceimpl From<ArrowFunctionDecl> for Node
impl From<ArrowFunctionDecl> for Node
sourcefn from(decl: ArrowFunctionDecl) -> Self
fn from(decl: ArrowFunctionDecl) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ArrowFunctionDecl> for ArrowFunctionDecl
impl PartialEq<ArrowFunctionDecl> for ArrowFunctionDecl
sourcefn eq(&self, other: &ArrowFunctionDecl) -> bool
fn eq(&self, other: &ArrowFunctionDecl) -> bool
sourceimpl Trace for ArrowFunctionDecl
impl Trace for ArrowFunctionDecl
sourcefn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects Read more
impl StructuralPartialEq for ArrowFunctionDecl
Auto Trait Implementations
impl RefUnwindSafe for ArrowFunctionDecl
impl !Send for ArrowFunctionDecl
impl !Sync for ArrowFunctionDecl
impl Unpin for ArrowFunctionDecl
impl UnwindSafe for ArrowFunctionDecl
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