pub struct StmtFunctionDefinitionLocal {
pub name: SpannedString,
pub body: ExprFunction,
pub span: Span,
}
Expand description
local function definition statement.
Fields§
§name: SpannedString
§body: ExprFunction
§span: Span
Implementations§
Source§impl StmtFunctionDefinitionLocal
impl StmtFunctionDefinitionLocal
pub fn new(name: SpannedString, body: ExprFunction, span: Span) -> Self
Trait Implementations§
Source§impl Clone for StmtFunctionDefinitionLocal
impl Clone for StmtFunctionDefinitionLocal
Source§fn clone(&self) -> StmtFunctionDefinitionLocal
fn clone(&self) -> StmtFunctionDefinitionLocal
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 StmtFunctionDefinitionLocal
impl RefUnwindSafe for StmtFunctionDefinitionLocal
impl Send for StmtFunctionDefinitionLocal
impl Sync for StmtFunctionDefinitionLocal
impl Unpin for StmtFunctionDefinitionLocal
impl UnwindSafe for StmtFunctionDefinitionLocal
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