pub struct FunctionDef {
pub name: String,
pub params: Vec<String>,
pub body: Block,
pub location: SourceLocation,
}Expand description
User-defined function
Fields§
§name: String§params: Vec<String>§body: Block§location: SourceLocationTrait Implementations§
Source§impl Clone for FunctionDef
impl Clone for FunctionDef
Auto Trait Implementations§
impl Freeze for FunctionDef
impl RefUnwindSafe for FunctionDef
impl Send for FunctionDef
impl Sync for FunctionDef
impl Unpin for FunctionDef
impl UnsafeUnpin for FunctionDef
impl UnwindSafe for FunctionDef
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