pub struct RootTextBindingOpt1ConstructorBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> RootTextBindingOpt1ConstructorBuilder<S>
impl<S: State> RootTextBindingOpt1ConstructorBuilder<S>
Sourcepub fn build(self) -> RootTextBindingOpt1Constructorwhere
S: IsComplete,
pub fn build(self) -> RootTextBindingOpt1Constructorwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn grammar_newline(
self,
value: GrammarNewlineNode,
) -> RootTextBindingOpt1ConstructorBuilder<SetGrammarNewline<S>>where
S::GrammarNewline: IsUnset,
pub fn grammar_newline(
self,
value: GrammarNewlineNode,
) -> RootTextBindingOpt1ConstructorBuilder<SetGrammarNewline<S>>where
S::GrammarNewline: IsUnset,
Sourcepub fn maybe_grammar_newline(
self,
value: Option<GrammarNewlineNode>,
) -> RootTextBindingOpt1ConstructorBuilder<SetGrammarNewline<S>>where
S::GrammarNewline: IsUnset,
pub fn maybe_grammar_newline(
self,
value: Option<GrammarNewlineNode>,
) -> RootTextBindingOpt1ConstructorBuilder<SetGrammarNewline<S>>where
S::GrammarNewline: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for RootTextBindingOpt1ConstructorBuilder<S>
impl<S> RefUnwindSafe for RootTextBindingOpt1ConstructorBuilder<S>
impl<S> Send for RootTextBindingOpt1ConstructorBuilder<S>
impl<S> Sync for RootTextBindingOpt1ConstructorBuilder<S>
impl<S> Unpin for RootTextBindingOpt1ConstructorBuilder<S>
impl<S> UnwindSafe for RootTextBindingOpt1ConstructorBuilder<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