Struct armnod::ArmnodOptions
source · pub struct ArmnodOptions {
pub number: u64,
pub chooser_mode: String,
pub cardinality: Option<u64>,
pub set_once_begin: Option<u64>,
pub set_once_end: Option<u64>,
pub zipf_theta: Option<f64>,
pub length_mode: Option<String>,
pub string_length: Option<u32>,
pub string_min_length: Option<u32>,
pub string_max_length: Option<u32>,
pub charset: Option<String>,
}Fields§
§number: u64§chooser_mode: String§cardinality: Option<u64>§set_once_begin: Option<u64>§set_once_end: Option<u64>§zipf_theta: Option<f64>§length_mode: Option<String>§string_length: Option<u32>§string_min_length: Option<u32>§string_max_length: Option<u32>§charset: Option<String>Trait Implementations§
source§impl CommandLine for ArmnodOptions
impl CommandLine for ArmnodOptions
source§fn add_opts(&self, prefix: Option<&str>, opts: &mut Options)
fn add_opts(&self, prefix: Option<&str>, opts: &mut Options)
Add options to the getopts parser.
source§fn matches(&mut self, prefix: Option<&str>, matches: &Matches)
fn matches(&mut self, prefix: Option<&str>, matches: &Matches)
Assign values to self using the provided getopts matches.
source§fn canonical_command_line(&self, prefix: Option<&str>) -> Vec<String>
fn canonical_command_line(&self, prefix: Option<&str>) -> Vec<String>
Return the canonical command line for this CommandLine.
source§fn from_command_line(usage: &str) -> (Self, Vec<String, Global>)
fn from_command_line(usage: &str) -> (Self, Vec<String, Global>)
Parse from the command line. This function will panic if a non-canonical command line is
provided.
source§fn from_command_line_relaxed(usage: &str) -> (Self, Vec<String, Global>)
fn from_command_line_relaxed(usage: &str) -> (Self, Vec<String, Global>)
Parse from the command line. This function will allow a non-canonical command line to
execute.
source§fn from_arguments(usage: &str, args: &[&str]) -> (Self, Vec<String, Global>)
fn from_arguments(usage: &str, args: &[&str]) -> (Self, Vec<String, Global>)
Parse from the provided arguments. This function will panic if a non-canonical command
line is provided.
source§impl Debug for ArmnodOptions
impl Debug for ArmnodOptions
source§impl Default for ArmnodOptions
impl Default for ArmnodOptions
source§impl PartialEq<ArmnodOptions> for ArmnodOptions
impl PartialEq<ArmnodOptions> for ArmnodOptions
source§fn eq(&self, other: &ArmnodOptions) -> bool
fn eq(&self, other: &ArmnodOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for ArmnodOptions
impl StructuralPartialEq for ArmnodOptions
Auto Trait Implementations§
impl RefUnwindSafe for ArmnodOptions
impl Send for ArmnodOptions
impl Sync for ArmnodOptions
impl Unpin for ArmnodOptions
impl UnwindSafe for ArmnodOptions
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