pub struct IpoptDataSink<'a>(pub &'a IpoptDataHandle);Expand description
Adapts IpoptDataHandle to the sink the shared handler writes through.
Tuple Fields§
§0: &'a IpoptDataHandleTrait Implementations§
Source§impl PerturbationSink for IpoptDataSink<'_>
impl PerturbationSink for IpoptDataSink<'_>
Source§fn append_info(&self, s: &str)
fn append_info(&self, s: &str)
Append to the iteration line’s info string (upstream
info_string).Source§fn set_regu_x(&self, v: Number)
fn set_regu_x(&self, v: Number)
Record the primal regularization actually applied (upstream
info_regu_x), for the lg(rg) column.Source§fn iter_count(&self) -> Index
fn iter_count(&self) -> Index
Current iteration index, for the env-gated
POUNCE_DBG_PERT trace.Auto Trait Implementations§
impl<'a> !RefUnwindSafe for IpoptDataSink<'a>
impl<'a> !Send for IpoptDataSink<'a>
impl<'a> !Sync for IpoptDataSink<'a>
impl<'a> !UnwindSafe for IpoptDataSink<'a>
impl<'a> Freeze for IpoptDataSink<'a>
impl<'a> Unpin for IpoptDataSink<'a>
impl<'a> UnsafeUnpin for IpoptDataSink<'a>
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
impl<T, U> Imply<T> for U
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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