pub struct Tolerances {
pub constraint: Scalar,
pub residual: Scalar,
}Expand description
Absolute error tolerances.
A constrained problem meets two quantities of different units, so one number cannot serve them both. Which units those are is settled by the problem rather than chosen here, so each is named where it is read back rather than where it is set.
Fields§
§constraint: ScalarAbsolute error tolerance on the constraints.
residual: ScalarAbsolute error tolerance on the residual.
Implementations§
Source§impl Tolerances
impl Tolerances
Trait Implementations§
Source§impl Clone for Tolerances
impl Clone for Tolerances
Source§fn clone(&self) -> Tolerances
fn clone(&self) -> Tolerances
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Tolerances
Source§impl Debug for Tolerances
impl Debug for Tolerances
Auto Trait Implementations§
impl Freeze for Tolerances
impl RefUnwindSafe for Tolerances
impl Send for Tolerances
impl Sync for Tolerances
impl Unpin for Tolerances
impl UnsafeUnpin for Tolerances
impl UnwindSafe for Tolerances
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