pub struct CommandLineArgument {
pub short_form: String,
pub long_form: String,
pub environment_variable: String,
pub _hint: Option<String>,
}Fields§
§short_form: String§long_form: String§environment_variable: String§_hint: Option<String>Implementations§
Source§impl CommandLineArgument
impl CommandLineArgument
pub fn get_command_line_arg_list() -> Vec<CommandLineArgument>
pub fn _parse( args: Vec<String>, argument_list: Vec<CommandLineArgument>, ) -> Vec<CommandLineArgument>
pub fn set_environment_variable(argument: &CommandLineArgument, value: String)
Auto Trait Implementations§
impl Freeze for CommandLineArgument
impl RefUnwindSafe for CommandLineArgument
impl Send for CommandLineArgument
impl Sync for CommandLineArgument
impl Unpin for CommandLineArgument
impl UnsafeUnpin for CommandLineArgument
impl UnwindSafe for CommandLineArgument
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