Struct parity_wasm::elements::RelocSection
source · pub struct RelocSection { /* private fields */ }
Expand description
Relocation information.
Implementations
sourceimpl 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).
sourceimpl RelocSection
impl RelocSection
Trait Implementations
sourceimpl Clone for RelocSection
impl Clone for RelocSection
sourcefn clone(&self) -> RelocSection
fn clone(&self) -> RelocSection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RelocSection
impl Debug for RelocSection
sourceimpl PartialEq<RelocSection> for RelocSection
impl PartialEq<RelocSection> for RelocSection
sourcefn eq(&self, other: &RelocSection) -> bool
fn eq(&self, other: &RelocSection) -> bool
sourceimpl Serialize for RelocSection
impl Serialize for RelocSection
impl StructuralPartialEq for RelocSection
Auto Trait Implementations
impl RefUnwindSafe for RelocSection
impl Send for RelocSection
impl Sync for RelocSection
impl Unpin for RelocSection
impl UnwindSafe for RelocSection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more