Struct parity_wasm::elements::RelocSection
source · pub struct RelocSection { /* private fields */ }
Expand description
Relocation information.
Implementations§
source§impl RelocSection
impl RelocSection
sourcepub fn section_id(&self) -> u32
pub fn section_id(&self) -> u32
ID of the section containing the relocations described in this section.
sourcepub fn section_id_mut(&mut self) -> &mut u32
pub fn section_id_mut(&mut self) -> &mut u32
ID of the section containing the relocations described in this section (mutable).
sourcepub fn relocation_section_name(&self) -> Option<&str>
pub fn relocation_section_name(&self) -> Option<&str>
Name of the section containing the relocations described in this section.
sourcepub fn relocation_section_name_mut(&mut self) -> &mut Option<String>
pub fn relocation_section_name_mut(&mut self) -> &mut Option<String>
Name of the section containing the relocations described in this section (mutable).
sourcepub fn entries(&self) -> &[RelocationEntry]
pub fn entries(&self) -> &[RelocationEntry]
List of relocation entries.
sourcepub fn entries_mut(&mut self) -> &mut Vec<RelocationEntry>
pub fn entries_mut(&mut self) -> &mut Vec<RelocationEntry>
List of relocation entries (mutable).
source§impl RelocSection
impl RelocSection
Trait Implementations§
source§impl Clone for RelocSection
impl Clone for RelocSection
source§fn clone(&self) -> RelocSection
fn clone(&self) -> RelocSection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more