[][src]Enum iced_x86::FormatterTextKind

#[non_exhaustive]pub enum FormatterTextKind {
    Text,
    Directive,
    Prefix,
    Mnemonic,
    Keyword,
    Operator,
    Punctuation,
    Number,
    Register,
    Decorator,
    SelectorValue,
    LabelAddress,
    FunctionAddress,
    Data,
    Label,
    Function,
}

Formatter text kind

Variants (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

Trait Implementations

impl Clone for FormatterTextKind[src]

impl Copy for FormatterTextKind[src]

impl Debug for FormatterTextKind[src]

impl Default for FormatterTextKind[src]

impl Eq for FormatterTextKind[src]

impl Hash for FormatterTextKind[src]

impl Ord for FormatterTextKind[src]

impl PartialEq<FormatterTextKind> for FormatterTextKind[src]

impl PartialOrd<FormatterTextKind> for FormatterTextKind[src]

impl StructuralEq for FormatterTextKind[src]

impl StructuralPartialEq for FormatterTextKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.