pub struct MicrocodeDescriptor {
pub name: String,
pub args: Vec<Arg<ValType>>,
pub returns: Vec<ValType>,
pub optype: OperationType,
}Expand description
Provides descriptive informaton about an instruction from the microcode.
Fields§
§name: StringName of the opcode.
args: Vec<Arg<ValType>>Arguments to this operator. Stack arguments are in the order they should be popped off the stack. Field arguments are provided as literals.
returns: Vec<ValType>Values returned from this operator. All of them go on the stack. Provided in the order they should be pushed onto the stack.
optype: OperationTypeWhich type of operation this is (an extern or a pure function).
Trait Implementations§
Source§impl Clone for MicrocodeDescriptor
impl Clone for MicrocodeDescriptor
Source§fn clone(&self) -> MicrocodeDescriptor
fn clone(&self) -> MicrocodeDescriptor
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for MicrocodeDescriptor
impl !RefUnwindSafe for MicrocodeDescriptor
impl !Send for MicrocodeDescriptor
impl !Sync for MicrocodeDescriptor
impl Unpin for MicrocodeDescriptor
impl !UnwindSafe for MicrocodeDescriptor
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