pub struct CommandProcessorConfig {
pub smt2proxy_normalize_symbols: bool,
/* private fields */
}Expand description
Configuration for the SMT2 command processor.
Fields§
§smt2proxy_normalize_symbols: boolTrait Implementations§
Source§impl Clone for CommandProcessorConfig
impl Clone for CommandProcessorConfig
Source§fn clone(&self) -> CommandProcessorConfig
fn clone(&self) -> CommandProcessorConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 CommandProcessorConfig
impl Debug for CommandProcessorConfig
Source§impl From<CommandProcessorConfig> for CommandProcessor
impl From<CommandProcessorConfig> for CommandProcessor
Source§fn from(config: CommandProcessorConfig) -> Self
fn from(config: CommandProcessorConfig) -> Self
Converts to this type from the input type.
Source§impl StructOpt for CommandProcessorConfig
impl StructOpt for CommandProcessorConfig
Source§fn from_clap(matches: &ArgMatches<'_>) -> Self
fn from_clap(matches: &ArgMatches<'_>) -> Self
Builds the struct from
clap::ArgMatches. It’s guaranteed to succeed
if matches originates from an App generated by StructOpt::clap called on
the same type, otherwise it must panic.Source§fn from_args() -> Selfwhere
Self: Sized,
fn from_args() -> Selfwhere
Self: Sized,
Builds the struct from the command line arguments (
std::env::args_os).
Calls clap::Error::exit on failure, printing the error message and aborting the program.Source§fn from_args_safe() -> Result<Self, Error>where
Self: Sized,
fn from_args_safe() -> Result<Self, Error>where
Self: Sized,
Builds the struct from the command line arguments (
std::env::args_os).
Unlike StructOpt::from_args, returns clap::Error on failure instead of aborting the program,
so calling .exit is up to you.Source§fn from_iter<I>(iter: I) -> Self
fn from_iter<I>(iter: I) -> Self
Gets the struct from any iterator such as a
Vec of your making.
Print the error message and quit the program in case of failure. Read moreAuto Trait Implementations§
impl Freeze for CommandProcessorConfig
impl RefUnwindSafe for CommandProcessorConfig
impl Send for CommandProcessorConfig
impl Sync for CommandProcessorConfig
impl Unpin for CommandProcessorConfig
impl UnwindSafe for CommandProcessorConfig
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