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