pub struct CoreDumpModulesSection { /* private fields */ }
Expand description
The “coremodules” custom section for coredumps which lists the names of the modules
§Example
use wasm_encoder::{CoreDumpModulesSection, Module};
let mut modules_section = CoreDumpModulesSection::new();
modules_section.module("my_module");
let mut module = Module::new();
module.section(&modules_section);
Implementations§
source§impl CoreDumpModulesSection
impl CoreDumpModulesSection
Trait Implementations§
source§impl Debug for CoreDumpModulesSection
impl Debug for CoreDumpModulesSection
source§impl Encode for CoreDumpModulesSection
impl Encode for CoreDumpModulesSection
Auto Trait Implementations§
impl Freeze for CoreDumpModulesSection
impl RefUnwindSafe for CoreDumpModulesSection
impl Send for CoreDumpModulesSection
impl Sync for CoreDumpModulesSection
impl Unpin for CoreDumpModulesSection
impl UnwindSafe for CoreDumpModulesSection
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