pub struct FuncEntry {
pub params: Vec<Param>,
pub ret: Option<TypeAst>,
pub body: Rc<Expr>,
}Expand description
a function’s declaration
Fields§
§params: Vec<Param>the parameters
ret: Option<TypeAst>the return type
body: Rc<Expr>the body
Auto Trait Implementations§
impl !RefUnwindSafe for FuncEntry
impl !Send for FuncEntry
impl !Sync for FuncEntry
impl !UnwindSafe for FuncEntry
impl Freeze for FuncEntry
impl Unpin for FuncEntry
impl UnsafeUnpin for FuncEntry
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