[][src]Struct elfkit::symbol::Symbol

pub struct Symbol {
    pub shndx: SymbolSectionIndex,
    pub value: u64,
    pub size: u64,
    pub name: Vec<u8>,
    pub stype: SymbolType,
    pub bind: SymbolBind,
    pub vis: SymbolVis,
    pub _name: u32,
}

Fields

shndx: SymbolSectionIndexvalue: u64size: u64name: Vec<u8>stype: SymbolTypebind: SymbolBindvis: SymbolVis_name: u32

Methods

impl Symbol[src]

pub fn entsize(eh: &Header) -> usize[src]

pub fn from_reader<R>(
    io: R,
    linked: Option<&SectionContent>,
    eh: &Header
) -> Result<SectionContent, Error> where
    R: Read
[src]

pub fn to_writer<W>(&self, io: W, eh: &Header) -> Result<usize, Error> where
    W: Write
[src]

pub fn sync(
    &mut self,
    linked: Option<&mut SectionContent>,
    _: &Header
) -> Result<(), Error>
[src]

Trait Implementations

impl Clone for Symbol[src]

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

Performs copy-assignment from source. Read more

impl Default for Symbol[src]

impl Debug for Symbol[src]

Auto Trait Implementations

impl Send for Symbol

impl Sync for Symbol

Blanket Implementations

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]