pub struct Function {
pub item_ref: ItemRef<Symbol>,
pub fn_ref: ItemRef<Self>,
pub params: Vec<FunctionParameter>,
pub body: Expr,
}
Fields§
§item_ref: ItemRef<Symbol>
§fn_ref: ItemRef<Self>
§params: Vec<FunctionParameter>
§body: Expr
Trait Implementations§
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