Struct parity_wasm_cp::elements::RelocSection [−][src]
pub struct RelocSection { /* fields omitted */ }
Relocation information.
Methods
impl RelocSection
[src]
impl RelocSection
pub fn name(&self) -> &str
[src]
pub fn name(&self) -> &str
Name of this section.
pub fn name_mut(&mut self) -> &mut String
[src]
pub fn name_mut(&mut self) -> &mut String
Name of this section (mutable).
pub fn section_id(&self) -> u32
[src]
pub fn section_id(&self) -> u32
ID of the section containing the relocations described in this section.
pub fn section_id_mut(&mut self) -> &mut u32
[src]
pub fn section_id_mut(&mut self) -> &mut u32
ID of the section containing the relocations described in this section (mutable).
pub fn relocation_section_name(&self) -> Option<&str>
[src]
pub fn relocation_section_name(&self) -> Option<&str>
Name of the section containing the relocations described in this section.
pub fn relocation_section_name_mut(&mut self) -> &mut Option<String>
[src]
pub fn relocation_section_name_mut(&mut self) -> &mut Option<String>
Name of the section containing the relocations described in this section (mutable).
pub fn entries(&self) -> &[RelocationEntry]
[src]
pub fn entries(&self) -> &[RelocationEntry]
List of relocation entries.
pub fn entries_mut(&mut self) -> &mut Vec<RelocationEntry>
[src]
pub fn entries_mut(&mut self) -> &mut Vec<RelocationEntry>
List of relocation entries (mutable).
impl RelocSection
[src]
impl RelocSection
pub fn deserialize<R: Read>(name: String, rdr: &mut R) -> Result<Self, Error>
[src]
pub fn deserialize<R: Read>(name: String, rdr: &mut R) -> Result<Self, Error>
Deserialize a reloc section.
Trait Implementations
impl Clone for RelocSection
[src]
impl Clone for RelocSection
fn clone(&self) -> RelocSection
[src]
fn clone(&self) -> RelocSection
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 RelocSection
[src]
impl Debug for RelocSection
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 PartialEq for RelocSection
[src]
impl PartialEq for RelocSection
fn eq(&self, other: &RelocSection) -> bool
[src]
fn eq(&self, other: &RelocSection) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &RelocSection) -> bool
[src]
fn ne(&self, other: &RelocSection) -> bool
This method tests for !=
.
impl Serialize for RelocSection
[src]
impl Serialize for RelocSection
Auto Trait Implementations
impl Send for RelocSection
impl Send for RelocSection
impl Sync for RelocSection
impl Sync for RelocSection