pub struct ModuleProducers { /* private fields */ }Expand description
Representation of the wasm custom section producers
Implementations§
Source§impl ModuleProducers
impl ModuleProducers
Sourcepub fn add_language(&mut self, language: &str, version: &str)
pub fn add_language(&mut self, language: &str, version: &str)
Adds a new language (versioned) to the producers section
Sourcepub fn add_processed_by(&mut self, tool: &str, version: &str)
pub fn add_processed_by(&mut self, tool: &str, version: &str)
Adds a new processed-by (versioned) to the producers section
Trait Implementations§
Source§impl Debug for ModuleProducers
impl Debug for ModuleProducers
Source§impl Default for ModuleProducers
impl Default for ModuleProducers
Source§fn default() -> ModuleProducers
fn default() -> ModuleProducers
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ModuleProducers
impl RefUnwindSafe for ModuleProducers
impl Send for ModuleProducers
impl Sync for ModuleProducers
impl Unpin for ModuleProducers
impl UnwindSafe for ModuleProducers
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