pub struct FunctionExpression {
pub name: Option<String>,
pub params: Vec<Parameter>,
pub body: BlockStatement,
pub generator: bool,
pub is_async: bool,
}Fields§
§name: Option<String>§params: Vec<Parameter>§body: BlockStatement§generator: bool§is_async: boolTrait Implementations§
Source§impl Clone for FunctionExpression
impl Clone for FunctionExpression
Source§fn clone(&self) -> FunctionExpression
fn clone(&self) -> FunctionExpression
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FunctionExpression
impl RefUnwindSafe for FunctionExpression
impl Send for FunctionExpression
impl Sync for FunctionExpression
impl Unpin for FunctionExpression
impl UnsafeUnpin for FunctionExpression
impl UnwindSafe for FunctionExpression
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