pub struct PdPerturbations {
pub delta_x: Number,
pub delta_s: Number,
pub delta_c: Number,
pub delta_d: Number,
}Expand description
Primal-dual perturbation triple (delta_x, delta_s, delta_c,
delta_d) — port of the four current_perturbation fields in
IpIpoptData.hpp.
Fields§
§delta_x: Number§delta_s: Number§delta_c: Number§delta_d: NumberTrait Implementations§
Source§impl Clone for PdPerturbations
impl Clone for PdPerturbations
Source§fn clone(&self) -> PdPerturbations
fn clone(&self) -> PdPerturbations
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 moreSource§impl Debug for PdPerturbations
impl Debug for PdPerturbations
Source§impl Default for PdPerturbations
impl Default for PdPerturbations
Source§fn default() -> PdPerturbations
fn default() -> PdPerturbations
Returns the “default value” for a type. Read more
impl Copy for PdPerturbations
Auto Trait Implementations§
impl Freeze for PdPerturbations
impl RefUnwindSafe for PdPerturbations
impl Send for PdPerturbations
impl Sync for PdPerturbations
impl Unpin for PdPerturbations
impl UnsafeUnpin for PdPerturbations
impl UnwindSafe for PdPerturbations
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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