Struct object::WasmSection [−][src]
pub struct WasmSection<'file> { /* fields omitted */ }
A section of an WasmFile
.
Trait Implementations
impl<'file> Debug for WasmSection<'file>
[src]
impl<'file> Debug for WasmSection<'file>
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<'file> ObjectSection<'static> for WasmSection<'file>
[src]
impl<'file> ObjectSection<'static> for WasmSection<'file>
fn address(&self) -> u64
[src]
fn address(&self) -> u64
Returns the address of the section.
fn size(&self) -> u64
[src]
fn size(&self) -> u64
Returns the size of the section in memory.
fn data(&self) -> Cow<'static, [u8]>
[src]
fn data(&self) -> Cow<'static, [u8]>
Returns a reference to the raw contents of the section. The length of this data may be different from the size of the section in memory. Read more
fn name(&self) -> Option<&str>
[src]
fn name(&self) -> Option<&str>
Returns the name of the section.
fn segment_name(&self) -> Option<&str>
[src]
fn segment_name(&self) -> Option<&str>
Returns the name of the segment for this section.
fn kind(&self) -> SectionKind
[src]
fn kind(&self) -> SectionKind
Return the kind of this section.
Auto Trait Implementations
impl<'file> Send for WasmSection<'file>
impl<'file> Send for WasmSection<'file>
impl<'file> Sync for WasmSection<'file>
impl<'file> Sync for WasmSection<'file>