pub struct ArrowFunction<'tree> {
pub span: Span,
pub body: ArrowFunctionBody<'tree>,
pub parameter: Option<Identifier<'tree>>,
pub parameters: Option<FormalParameters<'tree>>,
}Fields§
§span: Span§body: ArrowFunctionBody<'tree>§parameter: Option<Identifier<'tree>>§parameters: Option<FormalParameters<'tree>>Trait Implementations§
Source§impl<'tree> Clone for ArrowFunction<'tree>
impl<'tree> Clone for ArrowFunction<'tree>
Source§fn clone(&self) -> ArrowFunction<'tree>
fn clone(&self) -> ArrowFunction<'tree>
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<'tree> Debug for ArrowFunction<'tree>
impl<'tree> Debug for ArrowFunction<'tree>
Source§impl<'tree> FromNode<'tree> for ArrowFunction<'tree>
impl<'tree> FromNode<'tree> for ArrowFunction<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for ArrowFunction<'tree>
impl<'tree> RefUnwindSafe for ArrowFunction<'tree>
impl<'tree> Send for ArrowFunction<'tree>
impl<'tree> Sync for ArrowFunction<'tree>
impl<'tree> Unpin for ArrowFunction<'tree>
impl<'tree> UnsafeUnpin for ArrowFunction<'tree>
impl<'tree> UnwindSafe for ArrowFunction<'tree>
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