pub struct SectionConstructorBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> SectionConstructorBuilder<S>
impl<S: State> SectionConstructorBuilder<S>
Sourcepub fn build(self) -> SectionConstructorwhere
S: IsComplete,
pub fn build(self) -> SectionConstructorwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn at(self, value: AtNode) -> SectionConstructorBuilder<SetAt<S>>where
S::At: IsUnset,
pub fn at(self, value: AtNode) -> SectionConstructorBuilder<SetAt<S>>where
S::At: IsUnset,
Required.
Sourcepub fn keys(self, value: KeysNode) -> SectionConstructorBuilder<SetKeys<S>>where
S::Keys: IsUnset,
pub fn keys(self, value: KeysNode) -> SectionConstructorBuilder<SetKeys<S>>where
S::Keys: IsUnset,
Required.
Sourcepub fn section_body(
self,
value: SectionBodyNode,
) -> SectionConstructorBuilder<SetSectionBody<S>>where
S::SectionBody: IsUnset,
pub fn section_body(
self,
value: SectionBodyNode,
) -> SectionConstructorBuilder<SetSectionBody<S>>where
S::SectionBody: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for SectionConstructorBuilder<S>
impl<S> RefUnwindSafe for SectionConstructorBuilder<S>
impl<S> Send for SectionConstructorBuilder<S>
impl<S> Sync for SectionConstructorBuilder<S>
impl<S> Unpin for SectionConstructorBuilder<S>
impl<S> UnwindSafe for SectionConstructorBuilder<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