pub struct InfConstructorBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> InfConstructorBuilder<S>
impl<S: State> InfConstructorBuilder<S>
Sourcepub fn build(self) -> InfConstructorwhere
S: IsComplete,
pub fn build(self) -> InfConstructorwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn inf(self, value: InfToken) -> InfConstructorBuilder<SetInf<S>>where
S::Inf: IsUnset,
pub fn inf(self, value: InfToken) -> InfConstructorBuilder<SetInf<S>>where
S::Inf: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for InfConstructorBuilder<S>
impl<S> RefUnwindSafe for InfConstructorBuilder<S>
impl<S> Send for InfConstructorBuilder<S>
impl<S> Sync for InfConstructorBuilder<S>
impl<S> Unpin for InfConstructorBuilder<S>
impl<S> UnwindSafe for InfConstructorBuilder<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