pub struct Domain1DBuilder<WV, S: State = Empty>where
WV: PartialEq + PartialOrd,{ /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<WV, S: State> Domain1DBuilder<WV, S>where
WV: PartialEq + PartialOrd,
impl<WV, S: State> Domain1DBuilder<WV, S>where
WV: PartialEq + PartialOrd,
Sourcepub fn build(self) -> Domain1D<WV>where
S: IsComplete,
pub fn build(self) -> Domain1D<WV>where
S: IsComplete,
Finish building and return the requested object
Sourcepub fn lower(self, value: WV) -> Domain1DBuilder<WV, SetLower<S>>where
S::Lower: IsUnset,
pub fn lower(self, value: WV) -> Domain1DBuilder<WV, SetLower<S>>where
S::Lower: IsUnset,
Sourcepub fn maybe_lower(self, value: Option<WV>) -> Domain1DBuilder<WV, SetLower<S>>where
S::Lower: IsUnset,
pub fn maybe_lower(self, value: Option<WV>) -> Domain1DBuilder<WV, SetLower<S>>where
S::Lower: IsUnset,
Sourcepub fn upper(self, value: WV) -> Domain1DBuilder<WV, SetUpper<S>>where
S::Upper: IsUnset,
pub fn upper(self, value: WV) -> Domain1DBuilder<WV, SetUpper<S>>where
S::Upper: IsUnset,
Sourcepub fn maybe_upper(self, value: Option<WV>) -> Domain1DBuilder<WV, SetUpper<S>>where
S::Upper: IsUnset,
pub fn maybe_upper(self, value: Option<WV>) -> Domain1DBuilder<WV, SetUpper<S>>where
S::Upper: IsUnset,
Auto Trait Implementations§
impl<WV, S> Freeze for Domain1DBuilder<WV, S>where
WV: Freeze,
impl<WV, S> RefUnwindSafe for Domain1DBuilder<WV, S>where
WV: RefUnwindSafe,
impl<WV, S> Send for Domain1DBuilder<WV, S>where
WV: Send,
impl<WV, S> Sync for Domain1DBuilder<WV, S>where
WV: Sync,
impl<WV, S> Unpin for Domain1DBuilder<WV, S>where
WV: Unpin,
impl<WV, S> UnsafeUnpin for Domain1DBuilder<WV, S>where
WV: UnsafeUnpin,
impl<WV, S> UnwindSafe for Domain1DBuilder<WV, S>where
WV: 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