Struct iced_x86::SymbolResult
source · [−]pub struct SymbolResult<'a> {
pub address: u64,
pub text: SymResTextInfo<'a>,
pub flags: u32,
pub symbol_size: Option<MemorySize>,
}
Expand description
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
sourceimpl<'a> SymbolResult<'a>
impl<'a> SymbolResult<'a>
sourcepub const fn with_str_size(address: u64, text: &'a str, size: MemorySize) -> Self
pub const fn with_str_size(address: u64, text: &'a str, size: MemorySize) -> Self
sourcepub const fn with_str_kind(
address: u64,
text: &'a str,
color: FormatterTextKind
) -> Self
pub const fn with_str_kind(
address: u64,
text: &'a str,
color: FormatterTextKind
) -> Self
sourcepub const fn with_str_kind_flags(
address: u64,
text: &'a str,
color: FormatterTextKind,
flags: u32
) -> Self
pub const fn with_str_kind_flags(
address: u64,
text: &'a str,
color: FormatterTextKind,
flags: u32
) -> Self
Constructor
Arguments
address
: The address of the symboltext
: Symbolcolor
: Colorflags
: Symbol flags, seeSymbolFlags
sourcepub const fn with_string(address: u64, text: String) -> Self
pub const fn with_string(address: u64, text: String) -> Self
sourcepub const fn with_string_size(
address: u64,
text: String,
size: MemorySize
) -> Self
pub const fn with_string_size(
address: u64,
text: String,
size: MemorySize
) -> Self
sourcepub const fn with_string_kind(
address: u64,
text: String,
color: FormatterTextKind
) -> Self
pub const fn with_string_kind(
address: u64,
text: String,
color: FormatterTextKind
) -> Self
sourcepub const fn with_string_kind_flags(
address: u64,
text: String,
color: FormatterTextKind,
flags: u32
) -> Self
pub const fn with_string_kind_flags(
address: u64,
text: String,
color: FormatterTextKind,
flags: u32
) -> Self
Constructor
Arguments
address
: The address of the symboltext
: Symbolcolor
: Colorflags
: Symbol flags, seeSymbolFlags
sourcepub const fn with_text(address: u64, text: SymResTextInfo<'a>) -> Self
pub const fn with_text(address: u64, text: SymResTextInfo<'a>) -> Self
sourcepub const fn with_text_size(
address: u64,
text: SymResTextInfo<'a>,
size: MemorySize
) -> Self
pub const fn with_text_size(
address: u64,
text: SymResTextInfo<'a>,
size: MemorySize
) -> Self
sourcepub const fn with_text_flags(
address: u64,
text: SymResTextInfo<'a>,
flags: u32
) -> Self
pub const fn with_text_flags(
address: u64,
text: SymResTextInfo<'a>,
flags: u32
) -> Self
Constructor
Arguments
address
: The address of the symboltext
: Symbolflags
: Symbol flags, seeSymbolFlags
sourcepub const fn with_text_flags_size(
address: u64,
text: SymResTextInfo<'a>,
flags: u32,
size: MemorySize
) -> Self
pub const fn with_text_flags_size(
address: u64,
text: SymResTextInfo<'a>,
flags: u32,
size: MemorySize
) -> Self
Constructor
Arguments
address
: The address of the symboltext
: Symbolflags
: Symbol flags, seeSymbolFlags
size
: Symbol size
Trait Implementations
sourceimpl<'a> Clone for SymbolResult<'a>
impl<'a> Clone for SymbolResult<'a>
sourcefn clone(&self) -> SymbolResult<'a>
fn clone(&self) -> SymbolResult<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for SymbolResult<'a>
impl<'a> Debug for SymbolResult<'a>
sourceimpl<'a> Hash for SymbolResult<'a>
impl<'a> Hash for SymbolResult<'a>
sourceimpl<'a> PartialEq<SymbolResult<'a>> for SymbolResult<'a>
impl<'a> PartialEq<SymbolResult<'a>> for SymbolResult<'a>
sourcefn eq(&self, other: &SymbolResult<'a>) -> bool
fn eq(&self, other: &SymbolResult<'a>) -> bool
impl<'a> Eq for SymbolResult<'a>
impl<'a> StructuralEq for SymbolResult<'a>
impl<'a> StructuralPartialEq for SymbolResult<'a>
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more