pub struct ArrowFunctionExpr {
pub is_static: bool,
pub by_ref: bool,
pub params: Box<[Param]>,
pub return_type: Option<TypeHint>,
pub body: Box<Expr>,
pub attributes: Box<[Attribute]>,
}Fields§
§is_static: bool§by_ref: bool§params: Box<[Param]>§return_type: Option<TypeHint>§body: Box<Expr>§attributes: Box<[Attribute]>Trait Implementations§
Source§impl Clone for ArrowFunctionExpr
impl Clone for ArrowFunctionExpr
Source§fn clone(&self) -> ArrowFunctionExpr
fn clone(&self) -> ArrowFunctionExpr
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 moreSource§impl Debug for ArrowFunctionExpr
impl Debug for ArrowFunctionExpr
Auto Trait Implementations§
impl Freeze for ArrowFunctionExpr
impl RefUnwindSafe for ArrowFunctionExpr
impl Send for ArrowFunctionExpr
impl Sync for ArrowFunctionExpr
impl Unpin for ArrowFunctionExpr
impl UnsafeUnpin for ArrowFunctionExpr
impl UnwindSafe for ArrowFunctionExpr
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