#[repr(C)]
pub union Bytecode {
Show 13 fields
pub repr: u32,
pub peek: OpcodePeek,
pub r: RType,
pub r4: R4Type,
pub r_shamt32: RShamt32Type,
pub r_shamt64: RShamt64Type,
pub ra: RAType,
pub i: IType,
pub s: SType,
pub b: BType,
pub u: UType,
pub j: JType,
pub fence: FenceType,
}Expand description
untyped instruction
Fields§
§repr: u32§peek: OpcodePeek§r: RType§r4: R4Type§r_shamt32: RShamt32Type§r_shamt64: RShamt64Type§ra: RAType§i: IType§s: SType§b: BType§u: UType§j: JType§fence: FenceTypeImplementations§
Source§impl Bytecode
impl Bytecode
pub fn opcode(&self) -> u8
pub fn repr(&self) -> u32
pub fn r(&self) -> RType
pub fn r4(&self) -> R4Type
pub fn r_shamt32(&self) -> RShamt32Type
pub fn r_shamt64(&self) -> RShamt64Type
pub fn ra(&self) -> RAType
pub fn i(&self) -> IType
pub fn s(&self) -> SType
pub fn b(&self) -> BType
pub fn j(&self) -> JType
pub fn u(&self) -> UType
pub fn fence(&self) -> FenceType
Trait Implementations§
impl Copy for Bytecode
impl Eq for Bytecode
Auto Trait Implementations§
impl Freeze for Bytecode
impl RefUnwindSafe for Bytecode
impl Send for Bytecode
impl Sync for Bytecode
impl Unpin for Bytecode
impl UnwindSafe for Bytecode
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