pub struct ExprFunction {
pub parameters: ParameterList,
pub block: Block,
pub span: Span,
}Expand description
unnamed function
Fields§
§parameters: ParameterListfunction parameters
block: Blockfunction body to be executed
span: Spanspan of the whole function definition
Implementations§
Trait Implementations§
Source§impl Clone for ExprFunction
impl Clone for ExprFunction
Source§fn clone(&self) -> ExprFunction
fn clone(&self) -> ExprFunction
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 moreAuto Trait Implementations§
impl Freeze for ExprFunction
impl RefUnwindSafe for ExprFunction
impl Send for ExprFunction
impl Sync for ExprFunction
impl Unpin for ExprFunction
impl UnwindSafe for ExprFunction
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