pub struct Closure {
pub env: Env,
pub param: Symbol,
pub param_ty: Type,
pub typ: Type,
pub body: Arc<TypedExpr>,
}Fields§
§env: Env§param: Symbol§param_ty: Type§typ: Type§body: Arc<TypedExpr>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Closure
impl RefUnwindSafe for Closure
impl Send for Closure
impl Sync for Closure
impl Unpin for Closure
impl UnsafeUnpin for Closure
impl UnwindSafe for Closure
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