pub struct Function {
pub name: String,
pub location: Location,
pub args: Vec<Argument>,
pub body: Vec<Statement>,
pub return_type: VarType,
pub is_builtin: bool,
}Fields§
§name: String§location: Location§args: Vec<Argument>§body: Vec<Statement>§return_type: VarType§is_builtin: boolTrait Implementations§
impl StructuralPartialEq for Function
Auto Trait Implementations§
impl Freeze for Function
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
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