struct Handler<'ob> {
jump_code: u16,
stack_size: usize,
stack_frame: usize,
condition: Slot<Gc<ObjectType<'ob>>>,
}
Expand description
A handler for a condition-case. These are stored in a vector in the VM and added/removed via bytecodes.
Fields§
§jump_code: u16
§stack_size: usize
§stack_frame: usize
§condition: Slot<Gc<ObjectType<'ob>>>
Trait Implementations§
Source§impl<'ob> RootedDeref for Handler<'ob>
impl<'ob> RootedDeref for Handler<'ob>
type Target = RootedHandler<'ob>
fn rooted_deref(rooted: &Rt<Self>) -> &Self::Target
fn rooted_derefmut(rooted: &mut Rt<Self>) -> &mut Self::Target
Source§impl<'old, 'new> WithLifetime<'new> for Handler<'old>
impl<'old, 'new> WithLifetime<'new> for Handler<'old>
Auto Trait Implementations§
impl<'ob> !Freeze for Handler<'ob>
impl<'ob> !RefUnwindSafe for Handler<'ob>
impl<'ob> Send for Handler<'ob>
impl<'ob> !Sync for Handler<'ob>
impl<'ob> Unpin for Handler<'ob>
impl<'ob> !UnwindSafe for Handler<'ob>
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