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