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