pub struct InstructionWithLabel {
pub inst: Instruction,
pub labels: Vec<Label>,
pub ir: Option<String>,
}
Fields§
§inst: Instruction
§labels: Vec<Label>
§ir: Option<String>
This normally contains corresponded IR. This field is outputted to dump file.
Implementations§
Trait Implementations§
Source§impl Clone for InstructionWithLabel
impl Clone for InstructionWithLabel
Source§fn clone(&self) -> InstructionWithLabel
fn clone(&self) -> InstructionWithLabel
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 moreSource§impl Debug for InstructionWithLabel
impl Debug for InstructionWithLabel
Source§impl From<Instruction> for InstructionWithLabel
impl From<Instruction> for InstructionWithLabel
Source§fn from(value: Instruction) -> Self
fn from(value: Instruction) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InstructionWithLabel
impl PartialEq for InstructionWithLabel
impl StructuralPartialEq for InstructionWithLabel
Auto Trait Implementations§
impl Freeze for InstructionWithLabel
impl RefUnwindSafe for InstructionWithLabel
impl Send for InstructionWithLabel
impl Sync for InstructionWithLabel
impl Unpin for InstructionWithLabel
impl UnwindSafe for InstructionWithLabel
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