pub struct WasmPluginConfigBuilder { /* private fields */ }Expand description
Builder for WasmPluginConfig.
Implementations§
Source§impl WasmPluginConfigBuilder
impl WasmPluginConfigBuilder
pub fn name(&mut self, value: String) -> &mut Self
pub fn path(&mut self, value: String) -> &mut Self
pub fn memory_name(&mut self, value: Option<String>) -> &mut Self
pub fn handle_name(&mut self, value: Option<String>) -> &mut Self
Sourcepub fn build(&self) -> Result<WasmPluginConfig, WasmPluginConfigBuilderError>
pub fn build(&self) -> Result<WasmPluginConfig, WasmPluginConfigBuilderError>
Trait Implementations§
Source§impl Clone for WasmPluginConfigBuilder
impl Clone for WasmPluginConfigBuilder
Source§fn clone(&self) -> WasmPluginConfigBuilder
fn clone(&self) -> WasmPluginConfigBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for WasmPluginConfigBuilder
impl RefUnwindSafe for WasmPluginConfigBuilder
impl Send for WasmPluginConfigBuilder
impl Sync for WasmPluginConfigBuilder
impl Unpin for WasmPluginConfigBuilder
impl UnwindSafe for WasmPluginConfigBuilder
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