[][src]Struct iced_x86::SymbolResult

pub struct SymbolResult<'a> {
    pub address: u64,
    pub text: SymResTextInfo<'a>,
    pub flags: u32,
    pub symbol_size: Option<MemorySize>,
}

Created by a SymbolResolver

Fields

address: u64

The address of the symbol

text: SymResTextInfo<'a>

Contains the symbol

flags: u32

Symbol flags, see SymbolFlags

symbol_size: Option<MemorySize>

Symbol size or None

Implementations

impl<'a> SymbolResult<'a>[src]

#[must_use]pub fn with_str(address: u64, text: &'a str) -> Self[src]

Constructor

Arguments

  • address: The address of the symbol
  • text: Symbol

#[must_use]pub fn with_str_size(address: u64, text: &'a str, size: MemorySize) -> Self[src]

Constructor

Arguments

  • address: The address of the symbol
  • text: Symbol
  • size: Symbol size

#[must_use]pub fn with_str_kind(
    address: u64,
    text: &'a str,
    color: FormatterTextKind
) -> Self
[src]

Constructor

Arguments

  • address: The address of the symbol
  • text: Symbol
  • color: Color

#[must_use]pub fn with_str_kind_flags(
    address: u64,
    text: &'a str,
    color: FormatterTextKind,
    flags: u32
) -> Self
[src]

Constructor

Arguments

  • address: The address of the symbol
  • text: Symbol
  • color: Color
  • flags: Symbol flags, see SymbolFlags

#[must_use]pub fn with_string(address: u64, text: String) -> Self[src]

Constructor

Arguments

  • address: The address of the symbol
  • text: Symbol

#[must_use]pub fn with_string_size(address: u64, text: String, size: MemorySize) -> Self[src]

Constructor

Arguments

  • address: The address of the symbol
  • text: Symbol
  • size: Symbol size

#[must_use]pub fn with_string_kind(
    address: u64,
    text: String,
    color: FormatterTextKind
) -> Self
[src]

Constructor

Arguments

  • address: The address of the symbol
  • text: Symbol
  • color: Color

#[must_use]pub fn with_string_kind_flags(
    address: u64,
    text: String,
    color: FormatterTextKind,
    flags: u32
) -> Self
[src]

Constructor

Arguments

  • address: The address of the symbol
  • text: Symbol
  • color: Color
  • flags: Symbol flags, see SymbolFlags

#[must_use]pub fn with_text(address: u64, text: SymResTextInfo<'a>) -> Self[src]

Constructor

Arguments

  • address: The address of the symbol
  • text: Symbol

#[must_use]pub fn with_text_size(
    address: u64,
    text: SymResTextInfo<'a>,
    size: MemorySize
) -> Self
[src]

Constructor

Arguments

  • address: The address of the symbol
  • text: Symbol
  • size: Symbol size

#[must_use]pub fn with_text_flags(
    address: u64,
    text: SymResTextInfo<'a>,
    flags: u32
) -> Self
[src]

Constructor

Arguments

  • address: The address of the symbol
  • text: Symbol
  • flags: Symbol flags, see SymbolFlags

#[must_use]pub fn with_text_flags_size(
    address: u64,
    text: SymResTextInfo<'a>,
    flags: u32,
    size: MemorySize
) -> Self
[src]

Constructor

Arguments

  • address: The address of the symbol
  • text: Symbol
  • flags: Symbol flags, see SymbolFlags
  • size: Symbol size

Trait Implementations

impl<'a> Clone for SymbolResult<'a>[src]

impl<'a> Debug for SymbolResult<'a>[src]

impl<'a> Eq for SymbolResult<'a>[src]

impl<'a> Hash for SymbolResult<'a>[src]

impl<'a> PartialEq<SymbolResult<'a>> for SymbolResult<'a>[src]

impl<'a> StructuralEq for SymbolResult<'a>[src]

impl<'a> StructuralPartialEq for SymbolResult<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for SymbolResult<'a>

impl<'a> Send for SymbolResult<'a>

impl<'a> Sync for SymbolResult<'a>

impl<'a> Unpin for SymbolResult<'a>

impl<'a> UnwindSafe for SymbolResult<'a>

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.