pub(crate) struct Env<'a> {
pub(crate) vars: ObjectMap<Slot<Symbol<'a>>, Slot<Gc<ObjectType<'a>>>>,
pub(crate) props: ObjectMap<Slot<Symbol<'a>>, Vec<(Slot<Symbol<'a>>, Slot<Gc<ObjectType<'a>>>)>>,
pub(crate) catch_stack: Vec<Slot<Gc<ObjectType<'a>>>>,
exception: (Slot<Gc<ObjectType<'a>>>, Slot<Gc<ObjectType<'a>>>),
exception_id: u32,
binding_stack: Vec<(Slot<Symbol<'a>>, Option<Slot<Gc<ObjectType<'a>>>>)>,
pub(crate) match_data: Slot<Gc<ObjectType<'a>>>,
pub(crate) current_buffer: CurrentBuffer<'a>,
pub(crate) stack: LispStack<'a>,
}
Fields§
§vars: ObjectMap<Slot<Symbol<'a>>, Slot<Gc<ObjectType<'a>>>>
§props: ObjectMap<Slot<Symbol<'a>>, Vec<(Slot<Symbol<'a>>, Slot<Gc<ObjectType<'a>>>)>>
§catch_stack: Vec<Slot<Gc<ObjectType<'a>>>>
§exception: (Slot<Gc<ObjectType<'a>>>, Slot<Gc<ObjectType<'a>>>)
§exception_id: u32
§binding_stack: Vec<(Slot<Symbol<'a>>, Option<Slot<Gc<ObjectType<'a>>>>)>
§match_data: Slot<Gc<ObjectType<'a>>>
§current_buffer: CurrentBuffer<'a>
§stack: LispStack<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for Env<'a>
impl<'a> !RefUnwindSafe for Env<'a>
impl<'a> !Send for Env<'a>
impl<'a> !Sync for Env<'a>
impl<'a> Unpin for Env<'a>
impl<'a> !UnwindSafe for Env<'a>
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