Enum cambridge_asm::exec::Op
source · [−]pub enum Op {
Fail(String),
Acc,
Ix,
Cmp,
Ar,
Loc(usize),
Literal(usize),
Gpr(usize),
MultiOp(Vec<Op>),
Null,
}
Variants
Fail(String)
Acc
Ix
Cmp
Ar
Loc(usize)
Literal(usize)
Gpr(usize)
MultiOp(Vec<Op>)
Null
Implementations
sourceimpl 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
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Op
impl<'de> Deserialize<'de> for Op
sourcefn 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 StructuralPartialEq for Op
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more