Struct mach_o::Section
[−]
[src]
pub struct Section<'a> { /* fields omitted */ }
A section in the mach-o file.
Methods
impl<'a> Section<'a>
[src]
fn name(&self) -> &CStr
Get this section's name.
fn segment_name(&self) -> &CStr
Get this section's segment's name.
fn addr(&self) -> u64
Get this section's vm address.
fn data(&self) -> &'a [u8]
Get this section's data.
Trait Implementations
impl<'a> Copy for Section<'a>
[src]
impl<'a> Clone for Section<'a>
[src]
fn clone(&self) -> Section<'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