pub struct ArrowFunction {
pub params: Vec<Parameter>,
pub body: ArrowBody,
pub is_async: bool,
}Fields§
§params: Vec<Parameter>§body: ArrowBody§is_async: boolTrait Implementations§
Source§impl Clone for ArrowFunction
impl Clone for ArrowFunction
Source§fn clone(&self) -> ArrowFunction
fn clone(&self) -> ArrowFunction
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 ArrowFunction
impl RefUnwindSafe for ArrowFunction
impl Send for ArrowFunction
impl Sync for ArrowFunction
impl Unpin for ArrowFunction
impl UnsafeUnpin for ArrowFunction
impl UnwindSafe for ArrowFunction
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