pub struct LitStr2ConstructorBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> LitStr2ConstructorBuilder<S>
impl<S: State> LitStr2ConstructorBuilder<S>
Sourcepub fn build(self) -> LitStr2Constructorwhere
S: IsComplete,
pub fn build(self) -> LitStr2Constructorwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn lit_str_2_start(
self,
value: LitStr2StartNode,
) -> LitStr2ConstructorBuilder<SetLitStr2Start<S>>where
S::LitStr2Start: IsUnset,
pub fn lit_str_2_start(
self,
value: LitStr2StartNode,
) -> LitStr2ConstructorBuilder<SetLitStr2Start<S>>where
S::LitStr2Start: IsUnset,
Required.
Sourcepub fn lit_str_2_list(
self,
value: LitStr2ListNode,
) -> LitStr2ConstructorBuilder<SetLitStr2List<S>>where
S::LitStr2List: IsUnset,
pub fn lit_str_2_list(
self,
value: LitStr2ListNode,
) -> LitStr2ConstructorBuilder<SetLitStr2List<S>>where
S::LitStr2List: IsUnset,
Required.
Sourcepub fn lit_str_2_end(
self,
value: LitStr2EndNode,
) -> LitStr2ConstructorBuilder<SetLitStr2End<S>>where
S::LitStr2End: IsUnset,
pub fn lit_str_2_end(
self,
value: LitStr2EndNode,
) -> LitStr2ConstructorBuilder<SetLitStr2End<S>>where
S::LitStr2End: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for LitStr2ConstructorBuilder<S>
impl<S> RefUnwindSafe for LitStr2ConstructorBuilder<S>
impl<S> Send for LitStr2ConstructorBuilder<S>
impl<S> Sync for LitStr2ConstructorBuilder<S>
impl<S> Unpin for LitStr2ConstructorBuilder<S>
impl<S> UnwindSafe for LitStr2ConstructorBuilder<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