pub struct Function {
pub name: String,
pub parameters: Vec<FormalParameter>,
pub declarations: Vec<Declaration>,
pub constants: Vec<Constant>,
pub variables: Vec<LocalVariable>,
pub statements: Vec<Statement>,
pub return_type: Type,
}
Fields
name: String
parameters: Vec<FormalParameter>
declarations: Vec<Declaration>
constants: Vec<Constant>
variables: Vec<LocalVariable>
statements: Vec<Statement>
return_type: Type
Trait Implementations
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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