pub struct OverrideOperand {
pub address: SpaceAddressValue,
pub index: u8,
pub operand: Option<OperandOverride>,
}Fields§
§address: SpaceAddressValue§index: u8§operand: Option<OperandOverride>Implementations§
Source§impl OverrideOperand
impl OverrideOperand
Sourcepub fn new(
address: impl Into<SpaceAddressValue>,
index: impl Into<u8>,
operand: impl Into<Option<OperandOverride>>,
) -> Self
pub fn new( address: impl Into<SpaceAddressValue>, index: impl Into<u8>, operand: impl Into<Option<OperandOverride>>, ) -> Self
Override the rendered text of operand index of the instruction at the
code address. Pass None to clear the override. Presentation only,
independent of whether the bytes are classified as code.
Trait Implementations§
Source§impl Apply for OverrideOperand
impl Apply for OverrideOperand
Source§impl Clone for OverrideOperand
impl Clone for OverrideOperand
Source§impl Command for OverrideOperand
impl Command for OverrideOperand
Source§impl Debug for OverrideOperand
impl Debug for OverrideOperand
Source§impl<'de> Deserialize<'de> for OverrideOperand
impl<'de> Deserialize<'de> for OverrideOperand
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
Source§impl PartialEq for OverrideOperand
impl PartialEq for OverrideOperand
Source§impl Serialize for OverrideOperand
impl Serialize for OverrideOperand
impl StructuralPartialEq for OverrideOperand
Auto Trait Implementations§
impl Forget for OverrideOperand
impl Freeze for OverrideOperand
impl Move for OverrideOperand
impl RefUnwindSafe for OverrideOperand
impl Send for OverrideOperand
impl Sync for OverrideOperand
impl Unpin for OverrideOperand
impl UnsafeUnpin for OverrideOperand
impl UnwindSafe for OverrideOperand
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