pub enum InstructionTextTokenKind {
Show 52 variants
Text,
Instruction,
OperandSeparator,
Register,
Integer {
value: u64,
size: Option<usize>,
},
PossibleAddress {
value: u64,
size: Option<usize>,
},
BeginMemoryOperand,
EndMemoryOperand,
FloatingPoint {
value: f64,
size: Option<usize>,
},
Annotation,
CodeRelativeAddress {
value: u64,
size: Option<usize>,
},
ArgumentName {
value: u64,
},
HexDumpByteValue {
value: u8,
},
HexDumpSkippedByte,
HexDumpInvalidByte,
HexDumpText {
width: u64,
},
Opcode,
String {
value: u64,
},
StringContent {
ty: StringType,
},
CharacterConstant,
Keyword,
TypeName,
FieldName {
offset: u64,
type_names: Vec<String>,
},
NameSpace,
NameSpaceSeparator,
Tag,
StructOffset {
offset: u64,
type_names: Vec<String>,
},
StructOffsetByteValue,
StructureHexDumpText {
width: u64,
},
GotoLabel {
target: u64,
},
Comment {
target: u64,
},
PossibleValue {
value: u64,
},
PossibleValueType,
ArrayIndex {
index: u64,
},
Indentation,
UnknownMemory,
EnumerationMember {
value: u64,
type_id: Option<String>,
},
Operation,
BaseStructureName,
BaseStructureSeparator,
Brace {
hash: Option<u64>,
},
CodeSymbol {
value: u64,
size: usize,
},
DataSymbol {
value: u64,
size: usize,
},
LocalVariable {
variable_id: u64,
ssa_version: usize,
},
Import {
target: u64,
},
AddressDisplay {
address: u64,
},
IndirectImport {
target: u64,
size: usize,
source_operand: usize,
},
ExternalSymbol {
value: u64,
},
StackVariable {
variable_id: u64,
},
AddressSeparator,
CollapsedInformation,
CollapseStateIndicator {
hash: Option<u64>,
},
}
Variants§
Text
Instruction
OperandSeparator
Register
Integer
PossibleAddress
BeginMemoryOperand
EndMemoryOperand
FloatingPoint
Annotation
CodeRelativeAddress
ArgumentName
HexDumpByteValue
HexDumpSkippedByte
HexDumpInvalidByte
HexDumpText
Opcode
String
StringContent
String content is only present for:
Fields
§
ty: StringType
CharacterConstant
Keyword
TypeName
FieldName
Fields
NameSpace
NameSpaceSeparator
Tag
StructOffset
Fields
StructOffsetByteValue
StructureHexDumpText
GotoLabel
Comment
PossibleValue
PossibleValueType
ArrayIndex
Indentation
UnknownMemory
EnumerationMember
Operation
Operations like +, -, %
BaseStructureName
BaseStructureSeparator
Brace
CodeSymbol
DataSymbol
LocalVariable
Import
AddressDisplay
IndirectImport
Fields
§
target: u64
The address of the import
If you want the address of the import token use InstructionTextToken::address
instead.
ExternalSymbol
StackVariable
AddressSeparator
CollapsedInformation
CollapseStateIndicator
Trait Implementations§
source§impl Clone for InstructionTextTokenKind
impl Clone for InstructionTextTokenKind
source§fn clone(&self) -> InstructionTextTokenKind
fn clone(&self) -> InstructionTextTokenKind
Returns a copy 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 InstructionTextTokenKind
impl Debug for InstructionTextTokenKind
source§impl From<InstructionTextTokenKind> for BNInstructionTextTokenType
impl From<InstructionTextTokenKind> for BNInstructionTextTokenType
source§fn from(value: InstructionTextTokenKind) -> Self
fn from(value: InstructionTextTokenKind) -> Self
Converts to this type from the input type.
source§impl PartialEq for InstructionTextTokenKind
impl PartialEq for InstructionTextTokenKind
impl Eq for InstructionTextTokenKind
impl StructuralPartialEq for InstructionTextTokenKind
Auto Trait Implementations§
impl Freeze for InstructionTextTokenKind
impl RefUnwindSafe for InstructionTextTokenKind
impl Send for InstructionTextTokenKind
impl Sync for InstructionTextTokenKind
impl Unpin for InstructionTextTokenKind
impl UnwindSafe for InstructionTextTokenKind
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