pub struct InstructionPcode {
pub ops: Vec<PcodeOp>,
}Expand description
Flat p-code emitted for one machine instruction.
Fields§
§ops: Vec<PcodeOp>Operations in execution order.
Implementations§
Source§impl InstructionPcode
impl InstructionPcode
Sourcepub fn lower(
ast: &PcodeAst,
context: &impl PcodeLoweringContext,
) -> Result<Self, PcodeLowerError>
pub fn lower( ast: &PcodeAst, context: &impl PcodeLoweringContext, ) -> Result<Self, PcodeLowerError>
Lowers ast using producer-specific information from context.
Trait Implementations§
Source§impl Clone for InstructionPcode
impl Clone for InstructionPcode
Source§fn clone(&self) -> InstructionPcode
fn clone(&self) -> InstructionPcode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InstructionPcode
impl Debug for InstructionPcode
Source§impl Default for InstructionPcode
impl Default for InstructionPcode
Source§fn default() -> InstructionPcode
fn default() -> InstructionPcode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InstructionPcode
impl<'de> Deserialize<'de> for InstructionPcode
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 InstructionPcode
Source§impl PartialEq for InstructionPcode
impl PartialEq for InstructionPcode
Source§impl Serialize for InstructionPcode
impl Serialize for InstructionPcode
impl StructuralPartialEq for InstructionPcode
Auto Trait Implementations§
impl Freeze for InstructionPcode
impl RefUnwindSafe for InstructionPcode
impl Send for InstructionPcode
impl Sync for InstructionPcode
impl Unpin for InstructionPcode
impl UnsafeUnpin for InstructionPcode
impl UnwindSafe for InstructionPcode
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