pub struct LitStr1ConstructorBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> LitStr1ConstructorBuilder<S>
impl<S: State> LitStr1ConstructorBuilder<S>
Sourcepub fn build(self) -> LitStr1Constructorwhere
S: IsComplete,
pub fn build(self) -> LitStr1Constructorwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn lit_str_1_start(
self,
value: LitStr1StartNode,
) -> LitStr1ConstructorBuilder<SetLitStr1Start<S>>where
S::LitStr1Start: IsUnset,
pub fn lit_str_1_start(
self,
value: LitStr1StartNode,
) -> LitStr1ConstructorBuilder<SetLitStr1Start<S>>where
S::LitStr1Start: IsUnset,
Required.
Sourcepub fn lit_str_1_list(
self,
value: LitStr1ListNode,
) -> LitStr1ConstructorBuilder<SetLitStr1List<S>>where
S::LitStr1List: IsUnset,
pub fn lit_str_1_list(
self,
value: LitStr1ListNode,
) -> LitStr1ConstructorBuilder<SetLitStr1List<S>>where
S::LitStr1List: IsUnset,
Required.
Sourcepub fn lit_str_1_end(
self,
value: LitStr1EndNode,
) -> LitStr1ConstructorBuilder<SetLitStr1End<S>>where
S::LitStr1End: IsUnset,
pub fn lit_str_1_end(
self,
value: LitStr1EndNode,
) -> LitStr1ConstructorBuilder<SetLitStr1End<S>>where
S::LitStr1End: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for LitStr1ConstructorBuilder<S>
impl<S> RefUnwindSafe for LitStr1ConstructorBuilder<S>
impl<S> Send for LitStr1ConstructorBuilder<S>
impl<S> Sync for LitStr1ConstructorBuilder<S>
impl<S> Unpin for LitStr1ConstructorBuilder<S>
impl<S> UnwindSafe for LitStr1ConstructorBuilder<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