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 moresource§impl Debug for RelocSection
impl Debug for RelocSection
source§impl PartialEq for RelocSection
impl PartialEq for RelocSection
source§fn eq(&self, other: &RelocSection) -> bool
fn eq(&self, other: &RelocSection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RelocSection
impl Serialize for RelocSection
impl StructuralPartialEq for RelocSection
Auto Trait Implementations§
impl Freeze for RelocSection
impl RefUnwindSafe for RelocSection
impl Send for RelocSection
impl Sync for RelocSection
impl Unpin for RelocSection
impl UnwindSafe for RelocSection
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)