pub struct Function {
pub return_type: Type,
pub name: String,
pub parameters: Vec<Variable>,
pub body_statements: Vec<Statement>,
}
Fields
return_type: Type
name: String
parameters: Vec<Variable>
body_statements: Vec<Statement>
Trait Implementations
impl Eq for Function
impl StructuralEq for Function
impl StructuralPartialEq for Function
Auto Trait Implementations
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more