pub struct Fun {
pub name: String,
pub params: u32,
pub frame: u32,
pub body: P,
pub caps: Box<[u32]>,
}Expand description
A recursive operator, compiled once with its own frame.
Fields§
§name: StringThe name.
params: u32Number of parameters (slots 0..params).
frame: u32The frame size.
body: PThe body.
caps: Box<[u32]>The slots of the values captured from enclosing definitions (a
recursive LET operator’s free locals, lambda-lifted): a call
passes them after the parameters.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Fun
impl Freeze for Fun
impl Move for Fun
impl RefUnwindSafe for Fun
impl Send for Fun
impl Sync for Fun
impl Unpin for Fun
impl UnsafeUnpin for Fun
impl UnwindSafe for Fun
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