#[repr(u8)]pub enum Opcode {
Show 18 variants
OpenTag = 1,
CloseTag = 2,
VoidTag = 3,
Text = 4,
DynText = 5,
DynAttr = 6,
ShowIf = 7,
ShowElse = 8,
Switch = 9,
List = 10,
IslandStart = 11,
IslandEnd = 12,
TryStart = 13,
Fallback = 14,
Preload = 15,
Comment = 16,
ListItemKey = 17,
Prop = 18,
}Expand description
Bytecode opcodes for the FMIR instruction stream.
Variants§
OpenTag = 1
CloseTag = 2
VoidTag = 3
Text = 4
DynText = 5
DynAttr = 6
ShowIf = 7
ShowElse = 8
Switch = 9
List = 10
IslandStart = 11
IslandEnd = 12
TryStart = 13
Fallback = 14
Preload = 15
Comment = 16
ListItemKey = 17
Prop = 18
Extract a named property from an Object slot into a target slot. Format: src_slot_id(u16) + prop_str_idx(u32) + target_slot_id(u16)
Implementations§
Trait Implementations§
impl Copy for Opcode
impl Eq for Opcode
impl StructuralPartialEq for Opcode
Auto Trait Implementations§
impl Freeze for Opcode
impl RefUnwindSafe for Opcode
impl Send for Opcode
impl Sync for Opcode
impl Unpin for Opcode
impl UnsafeUnpin for Opcode
impl UnwindSafe for Opcode
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