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