Struct elfkit::dynamic::Dynamic [−][src]
pub struct Dynamic { pub dhtype: DynamicType, pub content: DynamicContent, }
Fields
dhtype: DynamicType
content: DynamicContent
Methods
impl Dynamic
[src]
impl Dynamic
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 Debug for Dynamic
[src]
impl Debug for Dynamic
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 Clone for Dynamic
[src]
impl Clone for Dynamic
fn clone(&self) -> Dynamic
[src]
fn clone(&self) -> Dynamic
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 Default for Dynamic
[src]
impl Default for Dynamic