#[repr(C)]
pub union Bytecode16 {
pub repr: u16,
pub peek: OpcodePeek16,
pub cr: CRType,
pub ci: CIType,
pub css: CSSType,
pub ciw: CIWType,
pub cl: CLType,
pub cs: CSType,
pub ca: CAType,
pub cb: CBType,
pub cbi: CBIType,
pub cj: CJType,
}Expand description
untyped instruction
Fields§
§repr: u16§peek: OpcodePeek16§cr: CRType§ci: CIType§css: CSSType§ciw: CIWType§cl: CLType§cs: CSType§ca: CAType§cb: CBType§cbi: CBIType§cj: CJTypeImplementations§
Source§impl Bytecode16
impl Bytecode16
pub fn opcode(&self) -> u8
pub fn funct3(&self) -> u8
pub fn repr(&self) -> u16
pub fn cr(&self) -> CRType
pub fn ci(&self) -> CIType
pub fn css(&self) -> CSSType
pub fn ciw(&self) -> CIWType
pub fn cl(&self) -> CLType
pub fn cs(&self) -> CSType
pub fn ca(&self) -> CAType
pub fn cb(&self) -> CBType
pub fn cbi(&self) -> CBIType
pub fn cj(&self) -> CJType
Trait Implementations§
Source§impl Clone for Bytecode16
impl Clone for Bytecode16
Source§fn clone(&self) -> Bytecode16
fn clone(&self) -> Bytecode16
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Bytecode16
impl Debug for Bytecode16
Source§impl PartialEq for Bytecode16
impl PartialEq for Bytecode16
impl Copy for Bytecode16
impl Eq for Bytecode16
Auto Trait Implementations§
impl Freeze for Bytecode16
impl RefUnwindSafe for Bytecode16
impl Send for Bytecode16
impl Sync for Bytecode16
impl Unpin for Bytecode16
impl UnwindSafe for Bytecode16
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