pub enum Op {
Fail(String),
Acc,
Ix,
Cmp,
Ar,
Indirect(Box<Op>),
Addr(usize),
Literal(usize),
Gpr(usize),
MultiOp(Vec<Op>),
Null,
}Expand description
Represents all possible types of pseudoassembly operands
Variants§
Fail(String)
Acc
Ix
Cmp
Ar
Indirect(Box<Op>)
Addr(usize)
Literal(usize)
Gpr(usize)
MultiOp(Vec<Op>)
Null
Implementations§
Source§impl Op
impl Op
pub fn is_none(&self) -> bool
pub fn is_register(&self) -> bool
pub fn is_read_write(&self) -> bool
pub fn is_usizeable(&self) -> bool
pub fn is_address(&self) -> bool
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Op
impl<'de> Deserialize<'de> for Op
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Op
impl StructuralPartialEq for Op
Auto Trait Implementations§
impl Freeze for Op
impl RefUnwindSafe for Op
impl Send for Op
impl Sync for Op
impl Unpin for Op
impl UnsafeUnpin for Op
impl UnwindSafe for Op
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