pub struct ArgsFormatter<'a> { /* private fields */ }Trait Implementations§
Source§impl FormatIns for ArgsFormatter<'_>
impl FormatIns for ArgsFormatter<'_>
fn options(&self) -> &Options
fn write_ins(&mut self, ins: &Ins) -> Result
fn write_space(&mut self) -> Result
fn write_separator(&mut self) -> Result
Source§fn write_uimm(&mut self, uimm: u32) -> Result
fn write_uimm(&mut self, uimm: u32) -> Result
Unsigned immediate
Source§fn write_simm(&mut self, simm: i32) -> Result
fn write_simm(&mut self, simm: i32) -> Result
Signed immediate
Source§fn write_branch_target(&mut self, branch_target: BranchTarget) -> Result
fn write_branch_target(&mut self, branch_target: BranchTarget) -> Result
The direct destination address of a branch instruction
Source§fn write_status_reg(&mut self, status_reg: StatusReg) -> Result
fn write_status_reg(&mut self, status_reg: StatusReg) -> Result
Status register
Source§fn write_status_fields(&mut self, status_fields: StatusFields) -> Result
fn write_status_fields(&mut self, status_fields: StatusFields) -> Result
Status register with field masks
Source§fn write_shift_op(&mut self, shift_op: ShiftOp) -> Result
fn write_shift_op(&mut self, shift_op: ShiftOp) -> Result
Shift operation
Source§fn write_coproc(&mut self, coproc: Coproc) -> Result
fn write_coproc(&mut self, coproc: Coproc) -> Result
Coprocessor
Source§fn write_co_reg(&mut self, co_reg: CoReg) -> Result
fn write_co_reg(&mut self, co_reg: CoReg) -> Result
Coprocessor register
Source§fn write_aif_flags(&mut self, aif_flags: AifFlags) -> Result
fn write_aif_flags(&mut self, aif_flags: AifFlags) -> Result
In a CPS instruction, specifies which interrupt bits to enable or disable
Source§fn write_endianness(&mut self, endianness: Endianness) -> Result
fn write_endianness(&mut self, endianness: Endianness) -> Result
Used by SETEND, specifies the endianness for data accesses
Source§fn write_sreg(&mut self, sreg: Sreg) -> Result
fn write_sreg(&mut self, sreg: Sreg) -> Result
General-purpose register for single-precision floating-point numbers
Source§fn write_dreg(&mut self, dreg: Dreg) -> Result
fn write_dreg(&mut self, dreg: Dreg) -> Result
General-purpose register for double-precision floating-point numbers
Source§fn write_fpscr(&mut self, fpscr: Fpscr) -> Result
fn write_fpscr(&mut self, fpscr: Fpscr) -> Result
Floating-Point Status and Control Register
Source§fn write_addr_ldr_str(&mut self, addr_ldr_str: AddrLdrStr) -> Result
fn write_addr_ldr_str(&mut self, addr_ldr_str: AddrLdrStr) -> Result
The memory address of an LDR(B)/STR(B)/PLD instruction
Source§fn write_s(&mut self, s: bool) -> Result<(), Error>
fn write_s(&mut self, s: bool) -> Result<(), Error>
Mnemonic suffix, updates status flags when present
Source§fn write_l(&mut self, l: bool) -> Result<(), Error>
fn write_l(&mut self, l: bool) -> Result<(), Error>
Mnemonic suffix, specifies a long load/store for LDC/STC instructions
Source§fn write_wb(&mut self, wb: bool) -> Result<(), Error>
fn write_wb(&mut self, wb: bool) -> Result<(), Error>
In LDM/STM, write the last accessed address back to the base register
Source§fn write_user_mode(&mut self, user_mode: bool) -> Result<(), Error>
fn write_user_mode(&mut self, user_mode: bool) -> Result<(), Error>
In LDM/STM, access user mode registers while in a privileged mode
Source§fn write_subtract(&mut self, subtract: bool) -> Result<(), Error>
fn write_subtract(&mut self, subtract: bool) -> Result<(), Error>
In LDR/STR and similar, subtract the index register from the base register
Source§fn write_blx_target(&mut self, blx_target: BlxTarget) -> Result<(), Error>
fn write_blx_target(&mut self, blx_target: BlxTarget) -> Result<(), Error>
The destination of a BLX instruction, which can be direct (immediate) or indirect (register)
Source§fn write_cond(&mut self, cond: Cond) -> Result<(), Error>
fn write_cond(&mut self, cond: Cond) -> Result<(), Error>
Mnemonic suffix, specifies the condition for whether to execute the instruction
Source§fn write_reg_list(&mut self, reg_list: RegList) -> Result<(), Error>
fn write_reg_list(&mut self, reg_list: RegList) -> Result<(), Error>
List of general-purpose registers, used by LDM/STM
Source§fn write_msr_op2(&mut self, msr_op2: MsrOp2) -> Result<(), Error>
fn write_msr_op2(&mut self, msr_op2: MsrOp2) -> Result<(), Error>
Second operand of the MSR instruction, can be an immediate or a register
Source§fn write_op2(&mut self, op2: Op2) -> Result<(), Error>
fn write_op2(&mut self, op2: Op2) -> Result<(), Error>
Second operand of a data-processing operation, can be an immediate, an immediate-shifted register or a register-shifted register.
Source§fn write_shift_reg(&mut self, shift_reg: ShiftReg) -> Result<(), Error>
fn write_shift_reg(&mut self, shift_reg: ShiftReg) -> Result<(), Error>
Register shifted by another register
Source§fn write_shift_imm(&mut self, shift_imm: ShiftImm) -> Result<(), Error>
fn write_shift_imm(&mut self, shift_imm: ShiftImm) -> Result<(), Error>
Register shifted by an immediate
Source§fn write_op2_shift(&mut self, op2_shift: Op2Shift) -> Result<(), Error>
fn write_op2_shift(&mut self, op2_shift: Op2Shift) -> Result<(), Error>
Second operand of a shift instruction, can be an immediate or a register
Source§fn write_cps_effect(&mut self, cps_effect: CpsEffect) -> Result<(), Error>
fn write_cps_effect(&mut self, cps_effect: CpsEffect) -> Result<(), Error>
Mnemonic suffix for CPS, specifies whether to enable/disable interrupt bits or just set the processor mode
Source§fn write_addr_ldc_stc(&mut self, addr_ldc_stc: AddrLdcStc) -> Result<(), Error>
fn write_addr_ldc_stc(&mut self, addr_ldc_stc: AddrLdcStc) -> Result<(), Error>
The memory address of an LDC/STC instruction
Source§fn write_ldm_stm_mode(&mut self, ldm_stm_mode: LdmStmMode) -> Result<(), Error>
fn write_ldm_stm_mode(&mut self, ldm_stm_mode: LdmStmMode) -> Result<(), Error>
Mnemonic suffix for LDM/STM, specifies how to step the base address
Source§fn write_addr_ldr_str_post(
&mut self,
addr_ldr_str_post: AddrLdrStrPost,
) -> Result<(), Error>
fn write_addr_ldr_str_post( &mut self, addr_ldr_str_post: AddrLdrStrPost, ) -> Result<(), Error>
A post-indexed memory address for LDR(B)(T)/STR(B)(T)
Source§fn write_ldr_str_offset(
&mut self,
ldr_str_offset: LdrStrOffset,
) -> Result<(), Error>
fn write_ldr_str_offset( &mut self, ldr_str_offset: LdrStrOffset, ) -> Result<(), Error>
The offset value in the memory address of a LDR(B)/STR(B) instruction, can be an immediate or a register
Source§fn write_addr_misc_load(
&mut self,
addr_misc_load: AddrMiscLoad,
) -> Result<(), Error>
fn write_addr_misc_load( &mut self, addr_misc_load: AddrMiscLoad, ) -> Result<(), Error>
The memory address of a miscellaneous load/store instruction
Source§fn write_misc_load_offset(
&mut self,
misc_load_offset: MiscLoadOffset,
) -> Result<(), Error>
fn write_misc_load_offset( &mut self, misc_load_offset: MiscLoadOffset, ) -> Result<(), Error>
The offset value in the memory address of a miscellaneous load/store instruction, can be an immediate or a register
Source§fn write_srs_rfe_mode(&mut self, srs_rfe_mode: SrsRfeMode) -> Result<(), Error>
fn write_srs_rfe_mode(&mut self, srs_rfe_mode: SrsRfeMode) -> Result<(), Error>
Mnemonic suffix for SRS/RFE, specifies how to step the stack pointer
Source§fn write_reg_side(&mut self, reg_side: RegSide) -> Result<(), Error>
fn write_reg_side(&mut self, reg_side: RegSide) -> Result<(), Error>
Mnemonic suffix, specifies which half of a register to use as an operand
Source§fn write_swap_rm(&mut self, swap_rm: bool) -> Result<(), Error>
fn write_swap_rm(&mut self, swap_rm: bool) -> Result<(), Error>
Mnemonic suffix, when performing two 16x16 bit multiplications, swap the two halfwords of Rm
Source§fn write_round(&mut self, round: bool) -> Result<(), Error>
fn write_round(&mut self, round: bool) -> Result<(), Error>
Mnemonic suffix, round the multiplication result instead of truncating
Source§fn write_round_zero(&mut self, round_zero: bool) -> Result<(), Error>
fn write_round_zero(&mut self, round_zero: bool) -> Result<(), Error>
Mnemonic suffix, when converting a floating-point number to an integer, round the result towards zero
Source§fn write_nan_exc(&mut self, nan_exc: bool) -> Result<(), Error>
fn write_nan_exc(&mut self, nan_exc: bool) -> Result<(), Error>
Mnemonic suffix, specifies that a comparison operation should cause an exception if any operand is NaN
Source§fn write_vcmp_f32_op2(&mut self, vcmp_f32_op2: VcmpF32Op2) -> Result<(), Error>
fn write_vcmp_f32_op2(&mut self, vcmp_f32_op2: VcmpF32Op2) -> Result<(), Error>
Second operand of a VCMP.F32 instruction, can be zero or a register
Source§fn write_vcmp_f64_op2(&mut self, vcmp_f64_op2: VcmpF64Op2) -> Result<(), Error>
fn write_vcmp_f64_op2(&mut self, vcmp_f64_op2: VcmpF64Op2) -> Result<(), Error>
Second operand of a VCMP.F64 instruction, can be zero or a register
Source§fn write_sreg_list(&mut self, sreg_list: SregList) -> Result<(), Error>
fn write_sreg_list(&mut self, sreg_list: SregList) -> Result<(), Error>
List of general-purpose single-precision floation-point registers, used by VLDM/VSTM
Source§fn write_dreg_list(&mut self, dreg_list: DregList) -> Result<(), Error>
fn write_dreg_list(&mut self, dreg_list: DregList) -> Result<(), Error>
List of general-purpose double-precision floation-point registers, used by VLDM/VSTM
Source§fn write_dreg_index(&mut self, dreg_index: DregIndex) -> Result<(), Error>
fn write_dreg_index(&mut self, dreg_index: DregIndex) -> Result<(), Error>
A double-precision floating-point register and index (0 or 1) to move to/from
Source§fn write_vldm_vstm_mode(
&mut self,
vldm_vstm_mode: VldmVstmMode,
) -> Result<(), Error>
fn write_vldm_vstm_mode( &mut self, vldm_vstm_mode: VldmVstmMode, ) -> Result<(), Error>
Mnemonic suffix for VLDM/VSTM, specifies how to step the base address
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ArgsFormatter<'a>
impl<'a> !Send for ArgsFormatter<'a>
impl<'a> !Sync for ArgsFormatter<'a>
impl<'a> !UnwindSafe for ArgsFormatter<'a>
impl<'a> Freeze for ArgsFormatter<'a>
impl<'a> Unpin for ArgsFormatter<'a>
impl<'a> UnsafeUnpin for ArgsFormatter<'a>
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
Source§impl<W> DemangleWrite for Wwhere
W: Write,
impl<W> DemangleWrite for Wwhere
W: Write,
Source§fn push_demangle_node(&mut self, _: DemangleNodeType)
fn push_demangle_node(&mut self, _: DemangleNodeType)
Called when we are entering the scope of some AST node.
Source§fn pop_demangle_node(&mut self)
fn pop_demangle_node(&mut self)
Called when we are exiting the scope of some AST node for
which
push_demangle_node was called.Source§impl<T> FmtForward for T
impl<T> FmtForward for T
Source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
Causes
self to use its Binary implementation when Debug-formatted.Source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
Causes
self to use its Display implementation when
Debug-formatted.Source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
Causes
self to use its LowerExp implementation when
Debug-formatted.Source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
Causes
self to use its LowerHex implementation when
Debug-formatted.Source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
Causes
self to use its Octal implementation when Debug-formatted.Source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
Causes
self to use its Pointer implementation when
Debug-formatted.Source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
Causes
self to use its UpperExp implementation when
Debug-formatted.Source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
Causes
self to use its UpperHex implementation when
Debug-formatted.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
Source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows
self and passes that borrow into the pipe function. Read moreSource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
Mutably borrows
self and passes that borrow into the pipe function. Read moreSource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows
self, then passes self.as_ref() into the pipe function.Source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows
self, then passes self.as_mut() into the pipe
function.Source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows
self, then passes self.deref() into the pipe function.Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B> of a value. Read moreSource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B> of a value. Read moreSource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R> view of a value. Read moreSource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R> view of a value. Read moreSource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target of a value. Read moreSource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target of a value. Read moreSource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap() only in debug builds, and is erased in release builds.Source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls
.tap_borrow_mut() only in debug builds, and is erased in release
builds.Source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref() only in debug builds, and is erased in release
builds.Source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls
.tap_ref_mut() only in debug builds, and is erased in release
builds.Source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref() only in debug builds, and is erased in release
builds.