pub struct ODESolutionStepBuilder { /* private fields */ }Expand description
Builder for ODE solution steps
Implementations§
Source§impl ODESolutionStepBuilder
impl ODESolutionStepBuilder
Sourcepub fn description(self, desc: String) -> Self
pub fn description(self, desc: String) -> Self
Set description
Sourcepub fn justification(self, just: String) -> Self
pub fn justification(self, just: String) -> Self
Set justification
Sourcepub fn before(self, expr: Expression) -> Self
pub fn before(self, expr: Expression) -> Self
Set before state
Sourcepub fn after(self, expr: Expression) -> Self
pub fn after(self, expr: Expression) -> Self
Set after state
Sourcepub fn build(self) -> Result<ODESolutionStep, String>
pub fn build(self) -> Result<ODESolutionStep, String>
Build the step
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ODESolutionStepBuilder
impl RefUnwindSafe for ODESolutionStepBuilder
impl Send for ODESolutionStepBuilder
impl Sync for ODESolutionStepBuilder
impl Unpin for ODESolutionStepBuilder
impl UnwindSafe for ODESolutionStepBuilder
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more