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§
Source§impl<'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§
Source§impl<'a> Clone for SymbolResult<'a>
impl<'a> Clone for SymbolResult<'a>
Source§fn clone(&self) -> SymbolResult<'a>
fn clone(&self) -> SymbolResult<'a>
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<'a> Debug for SymbolResult<'a>
impl<'a> Debug for SymbolResult<'a>
Source§impl<'a> Hash for SymbolResult<'a>
impl<'a> Hash for SymbolResult<'a>
Source§impl<'a> PartialEq for SymbolResult<'a>
impl<'a> PartialEq for SymbolResult<'a>
impl<'a> Eq for SymbolResult<'a>
impl<'a> StructuralPartialEq for SymbolResult<'a>
Auto Trait Implementations§
impl<'a> Freeze for SymbolResult<'a>
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§
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