pub struct Residual {
pub kind: ResidKind,
pub index: usize,
pub value: Number,
}Expand description
One signed residual component at the current iterate: its space, its
index within that space, and its value. See
DebugState::constraint_residuals / DebugState::dual_residuals.
Fields§
§kind: ResidKind§index: usize§value: NumberTrait Implementations§
Auto Trait Implementations§
impl Freeze for Residual
impl RefUnwindSafe for Residual
impl Send for Residual
impl Sync for Residual
impl Unpin for Residual
impl UnsafeUnpin for Residual
impl UnwindSafe for Residual
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