pub struct ModuleExtBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> ModuleExtBuilder<S>
impl<S: State> ModuleExtBuilder<S>
Sourcepub fn build(self) -> ModuleExtwhere
S: IsComplete,
pub fn build(self) -> ModuleExtwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn modules(self, value: Vec<Module>) -> ModuleExtBuilder<SetModules<S>>where
S::Modules: IsUnset,
pub fn modules(self, value: Vec<Module>) -> ModuleExtBuilder<SetModules<S>>where
S::Modules: IsUnset,
Sourcepub fn maybe_modules(
self,
value: Option<Vec<Module>>,
) -> ModuleExtBuilder<SetModules<S>>where
S::Modules: IsUnset,
pub fn maybe_modules(
self,
value: Option<Vec<Module>>,
) -> ModuleExtBuilder<SetModules<S>>where
S::Modules: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for ModuleExtBuilder<S>
impl<S> RefUnwindSafe for ModuleExtBuilder<S>
impl<S> Send for ModuleExtBuilder<S>
impl<S> Sync for ModuleExtBuilder<S>
impl<S> Unpin for ModuleExtBuilder<S>
impl<S> UnsafeUnpin for ModuleExtBuilder<S>
impl<S> UnwindSafe for ModuleExtBuilder<S>
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