pub struct DisassembleRequestArguments {
pub memory_reference: String,
pub offset: i32,
pub instruction_offset: i32,
pub instruction_count: i32,
pub resolve_symbols: bool,
/* private fields */
}
Fields§
§memory_reference: String
Memory reference to the base location containing the instructions to disassemble.
offset: i32
Optional offset (in bytes) to be applied to the reference location before disassembling. Can be negative.
instruction_offset: i32
Optional offset (in instructions) to be applied after the byte offset (if any) before disassembling. Can be negative.
instruction_count: i32
Number of instructions to disassemble starting at the specified location and offset.
An adapter must return exactly this number of instructions - any unavailable instructions should be replaced with an implementation-defined ‘invalid instruction’ value.
resolve_symbols: bool
If true, the adapter should attempt to resolve memory addresses and other values to symbolic names.
Implementations§
Source§impl DisassembleRequestArguments
impl DisassembleRequestArguments
Sourcepub fn builder() -> DisassembleRequestArgumentsBuilder<((), (), (), (), ())>
pub fn builder() -> DisassembleRequestArgumentsBuilder<((), (), (), (), ())>
Create a builder for building DisassembleRequestArguments
.
On the builder, call .memory_reference(...)
, .offset(...)
(optional), .instruction_offset(...)
(optional), .instruction_count(...)
, .resolve_symbols(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of DisassembleRequestArguments
.
Trait Implementations§
Source§impl Clone for DisassembleRequestArguments
impl Clone for DisassembleRequestArguments
Source§fn clone(&self) -> DisassembleRequestArguments
fn clone(&self) -> DisassembleRequestArguments
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for DisassembleRequestArguments
impl Debug for DisassembleRequestArguments
Source§impl<'de> Deserialize<'de> for DisassembleRequestArguments
impl<'de> Deserialize<'de> for DisassembleRequestArguments
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>,
Source§impl From<DisassembleRequestArguments> for ProtocolMessageContent
impl From<DisassembleRequestArguments> for ProtocolMessageContent
Source§fn from(args: DisassembleRequestArguments) -> Self
fn from(args: DisassembleRequestArguments) -> Self
Source§impl From<DisassembleRequestArguments> for Request
impl From<DisassembleRequestArguments> for Request
Source§fn from(args: DisassembleRequestArguments) -> Self
fn from(args: DisassembleRequestArguments) -> Self
Source§impl PartialEq for DisassembleRequestArguments
impl PartialEq for DisassembleRequestArguments
Source§fn eq(&self, other: &DisassembleRequestArguments) -> bool
fn eq(&self, other: &DisassembleRequestArguments) -> bool
self
and other
values to be equal, and is used by ==
.impl Eq for DisassembleRequestArguments
impl StructuralPartialEq for DisassembleRequestArguments
Auto Trait Implementations§
impl Freeze for DisassembleRequestArguments
impl RefUnwindSafe for DisassembleRequestArguments
impl Send for DisassembleRequestArguments
impl Sync for DisassembleRequestArguments
impl Unpin for DisassembleRequestArguments
impl UnwindSafe for DisassembleRequestArguments
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.