pub(crate) struct ProbArgs {Show 13 fields
pub(crate) source: PathBuf,
pub(crate) device: usize,
pub(crate) memory_mb: u64,
pub(crate) prob_engine: Option<ProbEngineCli>,
pub(crate) samples: Option<usize>,
pub(crate) seed: Option<u64>,
pub(crate) confidence: Option<f64>,
pub(crate) prob_method: Option<ProbMethodCli>,
pub(crate) prob_max_nonmonotone_iterations: Option<usize>,
pub(crate) allow_cpu_oracle: bool,
pub(crate) output: ProbOutputFormat,
pub(crate) output_dir: Option<PathBuf>,
pub(crate) module_path: Vec<PathBuf>,
}Fields§
§source: PathBuf§device: usize§memory_mb: u64§prob_engine: Option<ProbEngineCli>§samples: Option<usize>§seed: Option<u64>§confidence: Option<f64>§prob_method: Option<ProbMethodCli>§prob_max_nonmonotone_iterations: Option<usize>§allow_cpu_oracle: boolAllow the labeled CPU oracle when the resident GPU MC engine rejects
the program (negation, aggregates, …). Fail-closed when unset; the
result is labeled mc_engine: cpu-oracle and is not GPU-native evidence.
output: ProbOutputFormat§output_dir: Option<PathBuf>§module_path: Vec<PathBuf>Additional directories to search for modules (colon-separated)
Trait Implementations§
Source§impl Args for ProbArgs
impl Args for ProbArgs
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to [
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§impl FromArgMatches for ProbArgs
impl FromArgMatches for ProbArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Parser for ProbArgs
impl Parser for ProbArgs
§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, [exit][Error::exit] on error.
§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Update from iterator, [exit][Error::exit] on error. Read more
§fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
Update from iterator, return Err on error.
Auto Trait Implementations§
impl Freeze for ProbArgs
impl RefUnwindSafe for ProbArgs
impl Send for ProbArgs
impl Sync for ProbArgs
impl Unpin for ProbArgs
impl UnsafeUnpin for ProbArgs
impl UnwindSafe for ProbArgs
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