Struct parity_wasm::elements::RelocSection [−][src]
pub struct RelocSection { /* fields omitted */ }Relocation information.
Methods
impl RelocSection[src]
impl RelocSectionpub fn name(&self) -> &str[src]
pub fn name(&self) -> &strName of this section.
pub fn name_mut(&mut self) -> &mut String[src]
pub fn name_mut(&mut self) -> &mut StringName of this section (mutable).
pub fn section_id(&self) -> u32[src]
pub fn section_id(&self) -> u32ID 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 u32ID 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 RelocSectionpub 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 RelocSectionfn clone(&self) -> RelocSection[src]
fn clone(&self) -> RelocSectionReturns 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 RelocSectionfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for RelocSection[src]
impl PartialEq for RelocSectionfn eq(&self, other: &RelocSection) -> bool[src]
fn eq(&self, other: &RelocSection) -> boolThis 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) -> boolThis method tests for !=.
impl Serialize for RelocSection[src]
impl Serialize for RelocSectionAuto Trait Implementations
impl Send for RelocSection
impl Send for RelocSectionimpl Sync for RelocSection
impl Sync for RelocSection