Struct llvm::Symbol [] [src]

pub struct Symbol<'a> {
    pub name: &'a str,
    pub address: *const c_void,
    pub size: usize,
}

Fields

name: &'a str

The name of this symbol.

address: *const c_void

The address that this symbol is at.

size: usize

Methods

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

unsafe fn get<T>(self) -> &'a T

Get the pointer for this symbol.

Trait Implementations

impl<'a> Copy for Symbol<'a>
[src]

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

fn clone(&self) -> Symbol<'a>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

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

fn fmt(&self, fmt: &mut Formatter) -> Result

Formats the value using the given formatter.