Struct symbolic_debuginfo::Symbol [−][src]
pub struct Symbol<'data> { /* fields omitted */ }
A single symbol in a SymbolTable
.
Methods
impl<'data> Symbol<'data>
[src]
impl<'data> Symbol<'data>
pub fn name(&self) -> &Cow<'data, str>
[src]
pub fn name(&self) -> &Cow<'data, str>
Binary string value of the symbol.
pub fn addr(&self) -> u64
[src]
pub fn addr(&self) -> u64
Address of this symbol.
pub fn len(&self) -> Option<u64>
[src]
pub fn len(&self) -> Option<u64>
Presumed length of the symbol.
pub fn is_empty(&self) -> bool
[src]
pub fn is_empty(&self) -> bool
Indicates if this function spans instructions.
pub fn as_str(&self) -> &str
[src]
pub fn as_str(&self) -> &str
Returns the string representation of this symbol.
Trait Implementations
impl<'data> Debug for Symbol<'data>
[src]
impl<'data> Debug for Symbol<'data>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'data> Into<Name<'data>> for Symbol<'data>
[src]
impl<'data> Into<Name<'data>> for Symbol<'data>
impl<'data> Into<Cow<'data, str>> for Symbol<'data>
[src]
impl<'data> Into<Cow<'data, str>> for Symbol<'data>
impl<'data> Into<String> for Symbol<'data>
[src]
impl<'data> Into<String> for Symbol<'data>