Struct esr::ast::expression::ArrowExpression
source · pub struct ArrowExpression<'ast> {
pub params: NodeList<'ast, Pattern<'ast>>,
pub body: ArrowBody<'ast>,
}
Fields
params: NodeList<'ast, Pattern<'ast>>
body: ArrowBody<'ast>
Trait Implementations
sourceimpl<'ast> Clone for ArrowExpression<'ast>
impl<'ast> Clone for ArrowExpression<'ast>
sourcefn clone(&self) -> ArrowExpression<'ast>
fn clone(&self) -> ArrowExpression<'ast>
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<'ast> Debug for ArrowExpression<'ast>
impl<'ast> Debug for ArrowExpression<'ast>
sourceimpl<'ast> From<ArrowExpression<'ast>> for Expression<'ast>
impl<'ast> From<ArrowExpression<'ast>> for Expression<'ast>
sourcefn from(val: ArrowExpression<'ast>) -> Expression<'ast>
fn from(val: ArrowExpression<'ast>) -> Expression<'ast>
Converts to this type from the input type.
sourceimpl<'ast> PartialEq<ArrowExpression<'ast>> for ArrowExpression<'ast>
impl<'ast> PartialEq<ArrowExpression<'ast>> for ArrowExpression<'ast>
sourcefn eq(&self, other: &ArrowExpression<'ast>) -> bool
fn eq(&self, other: &ArrowExpression<'ast>) -> bool
impl<'ast> Copy for ArrowExpression<'ast>
impl<'ast> StructuralPartialEq for ArrowExpression<'ast>
Auto Trait Implementations
impl<'ast> RefUnwindSafe for ArrowExpression<'ast>
impl<'ast> Send for ArrowExpression<'ast>
impl<'ast> !Sync for ArrowExpression<'ast>
impl<'ast> Unpin for ArrowExpression<'ast>
impl<'ast> UnwindSafe for ArrowExpression<'ast>
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