pub struct FnDef {
pub name: String,
pub line: usize,
pub params: Vec<(String, String)>,
pub return_type: String,
pub effects: Vec<String>,
pub desc: Option<String>,
pub body: Rc<FnBody>,
pub resolution: Option<FnResolution>,
}Fields§
§name: String§line: usize§params: Vec<(String, String)>§return_type: String§effects: Vec<String>§desc: Option<String>§body: Rc<FnBody>§resolution: Option<FnResolution>None for unresolved (REPL, module sub-interpreters).
Trait Implementations§
impl StructuralPartialEq for FnDef
Auto Trait Implementations§
impl Freeze for FnDef
impl RefUnwindSafe for FnDef
impl !Send for FnDef
impl !Sync for FnDef
impl Unpin for FnDef
impl UnsafeUnpin for FnDef
impl UnwindSafe for FnDef
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