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