Struct armnod::ArmnodCommandLine
source · pub struct ArmnodCommandLine {
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 ArmnodCommandLine
impl CommandLine for ArmnodCommandLine
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 ArmnodCommandLine
impl Debug for ArmnodCommandLine
source§impl Default for ArmnodCommandLine
impl Default for ArmnodCommandLine
source§impl PartialEq<ArmnodCommandLine> for ArmnodCommandLine
impl PartialEq<ArmnodCommandLine> for ArmnodCommandLine
source§fn eq(&self, other: &ArmnodCommandLine) -> bool
fn eq(&self, other: &ArmnodCommandLine) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for ArmnodCommandLine
impl StructuralPartialEq for ArmnodCommandLine
Auto Trait Implementations§
impl RefUnwindSafe for ArmnodCommandLine
impl Send for ArmnodCommandLine
impl Sync for ArmnodCommandLine
impl Unpin for ArmnodCommandLine
impl UnwindSafe for ArmnodCommandLine
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