Enum iced_x86::FormatterTextKind
source · #[non_exhaustive]
pub enum FormatterTextKind {
Show 16 variants
Text,
Directive,
Prefix,
Mnemonic,
Keyword,
Operator,
Punctuation,
Number,
Register,
Decorator,
SelectorValue,
LabelAddress,
FunctionAddress,
Data,
Label,
Function,
}
Expand description
Formatter text kind
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Text
Normal text
Directive
Assembler directive
Prefix
Any prefix
Mnemonic
Any mnemonic
Keyword
Any keyword
Operator
Any operator
Punctuation
Any punctuation
Number
Number
Register
Any register
Decorator
A decorator, eg. sae
in {sae}
SelectorValue
Selector value (eg. far JMP
/CALL
)
LabelAddress
Label address (eg. JE XXXXXX
)
FunctionAddress
Function address (eg. CALL XXXXXX
)
Data
Data symbol
Label
Label symbol
Function
Function symbol
Implementations§
source§impl FormatterTextKind
impl FormatterTextKind
sourcepub fn values(
) -> impl Iterator<Item = FormatterTextKind> + DoubleEndedIterator + ExactSizeIterator + FusedIterator
pub fn values( ) -> impl Iterator<Item = FormatterTextKind> + DoubleEndedIterator + ExactSizeIterator + FusedIterator
Iterates over all FormatterTextKind
enum values
Trait Implementations§
source§impl Clone for FormatterTextKind
impl Clone for FormatterTextKind
source§fn clone(&self) -> FormatterTextKind
fn clone(&self) -> FormatterTextKind
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FormatterTextKind
impl Debug for FormatterTextKind
source§impl Default for FormatterTextKind
impl Default for FormatterTextKind
source§impl Hash for FormatterTextKind
impl Hash for FormatterTextKind
source§impl Ord for FormatterTextKind
impl Ord for FormatterTextKind
source§impl PartialEq<FormatterTextKind> for FormatterTextKind
impl PartialEq<FormatterTextKind> for FormatterTextKind
source§fn eq(&self, other: &FormatterTextKind) -> bool
fn eq(&self, other: &FormatterTextKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<FormatterTextKind> for FormatterTextKind
impl PartialOrd<FormatterTextKind> for FormatterTextKind
source§impl TryFrom<usize> for FormatterTextKind
impl TryFrom<usize> for FormatterTextKind
impl Copy for FormatterTextKind
impl Eq for FormatterTextKind
impl StructuralEq for FormatterTextKind
impl StructuralPartialEq for FormatterTextKind
Auto Trait Implementations§
impl RefUnwindSafe for FormatterTextKind
impl Send for FormatterTextKind
impl Sync for FormatterTextKind
impl Unpin for FormatterTextKind
impl UnwindSafe for FormatterTextKind
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
const: unstable§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more