Struct elfkit::symbol::Symbol [−][src]
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: SymbolSectionIndex
value: u64
size: u64
name: Vec<u8>
stype: SymbolType
bind: SymbolBind
vis: SymbolVis
_name: u32
Methods
impl Symbol
[src]
impl Symbol
pub fn entsize(eh: &Header) -> usize
[src]
pub fn entsize(eh: &Header) -> usize
pub fn from_reader<R>(
io: R,
linked: Option<&SectionContent>,
eh: &Header
) -> Result<SectionContent, Error> where
R: Read,
[src]
pub fn from_reader<R>(
io: R,
linked: Option<&SectionContent>,
eh: &Header
) -> Result<SectionContent, Error> where
R: Read,
pub fn to_writer<W>(&self, io: W, eh: &Header) -> Result<usize, Error> where
W: Write,
[src]
pub fn to_writer<W>(&self, io: W, eh: &Header) -> Result<usize, Error> where
W: Write,
pub fn sync(
&mut self,
linked: Option<&mut SectionContent>,
_: &Header
) -> Result<(), Error>
[src]
pub fn sync(
&mut self,
linked: Option<&mut SectionContent>,
_: &Header
) -> Result<(), Error>
Trait Implementations
impl Default for Symbol
[src]
impl Default for Symbol
impl Clone for Symbol
[src]
impl Clone for Symbol
fn clone(&self) -> Symbol
[src]
fn clone(&self) -> Symbol
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Symbol
[src]
impl Debug for Symbol