pub struct ModuleSourceWithInitOptsBuilder { /* private fields */ }Expand description
Builder for ModuleSourceWithInitOpts.
Implementations§
Source§impl ModuleSourceWithInitOptsBuilder
impl ModuleSourceWithInitOptsBuilder
Sourcepub fn merge<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn merge<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Merge module dependencies into the current project’s
Sourcepub fn build(
&self,
) -> Result<ModuleSourceWithInitOpts, ModuleSourceWithInitOptsBuilderError>
pub fn build( &self, ) -> Result<ModuleSourceWithInitOpts, ModuleSourceWithInitOptsBuilderError>
Trait Implementations§
Source§impl Clone for ModuleSourceWithInitOptsBuilder
impl Clone for ModuleSourceWithInitOptsBuilder
Source§fn clone(&self) -> ModuleSourceWithInitOptsBuilder
fn clone(&self) -> ModuleSourceWithInitOptsBuilder
Returns a copy 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 ModuleSourceWithInitOptsBuilder
impl RefUnwindSafe for ModuleSourceWithInitOptsBuilder
impl Send for ModuleSourceWithInitOptsBuilder
impl Sync for ModuleSourceWithInitOptsBuilder
impl Unpin for ModuleSourceWithInitOptsBuilder
impl UnwindSafe for ModuleSourceWithInitOptsBuilder
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