Enum cambridge_asm::inst::Op
source · [−]pub enum Op {
Fail(String),
Acc,
Ix,
Cmp,
Ar,
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
Addr(usize)
Literal(usize)
Gpr(usize)
MultiOp(Vec<Op>)
Null
Implementations
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 Eq for Op
impl StructuralEq for Op
impl StructuralPartialEq for Op
Auto Trait Implementations
Blanket Implementations
sourceimpl<'de, T> BorrowDecode<'de> for T where
T: Decode,
impl<'de, T> BorrowDecode<'de> for T where
T: Decode,
sourcefn borrow_decode<D>(decoder: &mut D) -> Result<T, DecodeError> where
D: Decoder,
fn borrow_decode<D>(decoder: &mut D) -> Result<T, DecodeError> where
D: Decoder,
Attempt to decode this type with the given BorrowDecode.
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