pub struct TupleConstructorBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> TupleConstructorBuilder<S>
impl<S: State> TupleConstructorBuilder<S>
Sourcepub fn build(self) -> TupleConstructorwhere
S: IsComplete,
pub fn build(self) -> TupleConstructorwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn l_paren(self, value: LParenNode) -> TupleConstructorBuilder<SetLParen<S>>where
S::LParen: IsUnset,
pub fn l_paren(self, value: LParenNode) -> TupleConstructorBuilder<SetLParen<S>>where
S::LParen: IsUnset,
Required.
Sourcepub fn tuple_opt(
self,
value: TupleOptNode,
) -> TupleConstructorBuilder<SetTupleOpt<S>>where
S::TupleOpt: IsUnset,
pub fn tuple_opt(
self,
value: TupleOptNode,
) -> TupleConstructorBuilder<SetTupleOpt<S>>where
S::TupleOpt: IsUnset,
Required.
Sourcepub fn r_paren(self, value: RParenNode) -> TupleConstructorBuilder<SetRParen<S>>where
S::RParen: IsUnset,
pub fn r_paren(self, value: RParenNode) -> TupleConstructorBuilder<SetRParen<S>>where
S::RParen: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for TupleConstructorBuilder<S>
impl<S> RefUnwindSafe for TupleConstructorBuilder<S>
impl<S> Send for TupleConstructorBuilder<S>
impl<S> Sync for TupleConstructorBuilder<S>
impl<S> Unpin for TupleConstructorBuilder<S>
impl<S> UnwindSafe for TupleConstructorBuilder<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