pub enum InstructionTextTokenContext {
Show 14 variants
Normal,
LocalVariable,
DataVariable,
FunctionReturn,
InstructionAddress,
ILInstructionIndex,
ConstData,
ConstStringData,
StringReference,
StringDataVariable,
StringDisplay,
Collapsed,
Expanded,
CollapsiblePadding,
}
Variants§
Normal
LocalVariable
DataVariable
FunctionReturn
InstructionAddress
ILInstructionIndex
ConstData
ConstStringData
Use only with InstructionTextTokenKind::String
StringReference
Use only with InstructionTextTokenKind::String
StringDataVariable
Use only with InstructionTextTokenKind::String
StringDisplay
For displaying strings which aren’t associated with an address
Use only with InstructionTextTokenKind::String
Collapsed
Use only with InstructionTextTokenKind::CollapseStateIndicator
Expanded
Use only with InstructionTextTokenKind::CollapseStateIndicator
CollapsiblePadding
Use only with InstructionTextTokenKind::CollapseStateIndicator
Trait Implementations§
source§impl Clone for InstructionTextTokenContext
impl Clone for InstructionTextTokenContext
source§fn clone(&self) -> InstructionTextTokenContext
fn clone(&self) -> InstructionTextTokenContext
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 InstructionTextTokenContext
impl Debug for InstructionTextTokenContext
source§impl From<BNInstructionTextTokenContext> for InstructionTextTokenContext
impl From<BNInstructionTextTokenContext> for InstructionTextTokenContext
source§fn from(value: BNInstructionTextTokenContext) -> Self
fn from(value: BNInstructionTextTokenContext) -> Self
Converts to this type from the input type.
source§impl From<InstructionTextTokenContext> for BNInstructionTextTokenContext
impl From<InstructionTextTokenContext> for BNInstructionTextTokenContext
source§fn from(value: InstructionTextTokenContext) -> Self
fn from(value: InstructionTextTokenContext) -> Self
Converts to this type from the input type.
impl Copy for InstructionTextTokenContext
impl Eq for InstructionTextTokenContext
impl StructuralPartialEq for InstructionTextTokenContext
Auto Trait Implementations§
impl Freeze for InstructionTextTokenContext
impl RefUnwindSafe for InstructionTextTokenContext
impl Send for InstructionTextTokenContext
impl Sync for InstructionTextTokenContext
impl Unpin for InstructionTextTokenContext
impl UnwindSafe for InstructionTextTokenContext
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