pub enum GuardKind {
IntType {
register: u8,
},
FloatType {
register: u8,
},
BoolType {
register: u8,
},
Truthy {
register: u8,
},
Falsy {
register: u8,
},
ArrayBoundsCheck {
array_register: u8,
index_register: u8,
},
NestedLoop {
function_idx: usize,
loop_start_ip: usize,
},
NativeFunction {
register: u8,
expected: *const (),
},
Function {
register: u8,
function_idx: usize,
},
Closure {
register: u8,
function_idx: usize,
upvalues_ptr: *const (),
},
}Variants§
IntType
FloatType
BoolType
Truthy
Falsy
ArrayBoundsCheck
NestedLoop
NativeFunction
Function
Closure
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GuardKind
impl RefUnwindSafe for GuardKind
impl !Send for GuardKind
impl !Sync for GuardKind
impl Unpin for GuardKind
impl UnsafeUnpin for GuardKind
impl UnwindSafe for GuardKind
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