pub struct OptionFileLoad {
pub path: Option<PathBuf>,
pub explicit: bool,
pub warnings: Vec<String>,
}Expand description
What IpoptApplication::initialize_with_option_file did — enough
for a caller to tell the user which file (if any) configured the run.
Fields§
§path: Option<PathBuf>The file actually read. None means no options file was read:
nobody named one and neither default was present.
explicit: boolWhether Self::path was named by the caller rather than found
by probing the working directory.
warnings: Vec<String>Non-fatal notes about option-file settings that did not take effect. Nothing here stops a solve; the point is that it not happen silently.
Trait Implementations§
Source§impl Clone for OptionFileLoad
impl Clone for OptionFileLoad
Source§fn clone(&self) -> OptionFileLoad
fn clone(&self) -> OptionFileLoad
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 OptionFileLoad
impl Debug for OptionFileLoad
Source§impl Default for OptionFileLoad
impl Default for OptionFileLoad
Source§fn default() -> OptionFileLoad
fn default() -> OptionFileLoad
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OptionFileLoad
impl RefUnwindSafe for OptionFileLoad
impl Send for OptionFileLoad
impl Sync for OptionFileLoad
impl Unpin for OptionFileLoad
impl UnsafeUnpin for OptionFileLoad
impl UnwindSafe for OptionFileLoad
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,
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