pub struct NodeReconstructionDataBuilder<C, S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<C, S: State> NodeReconstructionDataBuilder<C, S>
impl<C, S: State> NodeReconstructionDataBuilder<C, S>
Sourcepub fn build(self) -> NodeReconstructionData<C>where
S: IsComplete,
pub fn build(self) -> NodeReconstructionData<C>where
S: IsComplete,
Finish building and return the requested object
Sourcepub fn context(
self,
value: C,
) -> NodeReconstructionDataBuilder<C, SetContext<S>>where
S::Context: IsUnset,
pub fn context(
self,
value: C,
) -> NodeReconstructionDataBuilder<C, SetContext<S>>where
S::Context: IsUnset,
Required.
Sourcepub fn parameters(
self,
value: Parameters,
) -> NodeReconstructionDataBuilder<C, SetParameters<S>>where
S::Parameters: IsUnset,
pub fn parameters(
self,
value: Parameters,
) -> NodeReconstructionDataBuilder<C, SetParameters<S>>where
S::Parameters: IsUnset,
Sourcepub fn maybe_parameters(
self,
value: Option<Parameters>,
) -> NodeReconstructionDataBuilder<C, SetParameters<S>>where
S::Parameters: IsUnset,
pub fn maybe_parameters(
self,
value: Option<Parameters>,
) -> NodeReconstructionDataBuilder<C, SetParameters<S>>where
S::Parameters: IsUnset,
Auto Trait Implementations§
impl<C, S> Freeze for NodeReconstructionDataBuilder<C, S>where
C: Freeze,
impl<C, S> RefUnwindSafe for NodeReconstructionDataBuilder<C, S>where
C: RefUnwindSafe,
impl<C, S> Send for NodeReconstructionDataBuilder<C, S>where
C: Send,
impl<C, S> Sync for NodeReconstructionDataBuilder<C, S>where
C: Sync,
impl<C, S> Unpin for NodeReconstructionDataBuilder<C, S>where
C: Unpin,
impl<C, S> UnsafeUnpin for NodeReconstructionDataBuilder<C, S>where
C: UnsafeUnpin,
impl<C, S> UnwindSafe for NodeReconstructionDataBuilder<C, S>where
C: UnwindSafe,
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