pub struct Args {
pub search_binaries: bool,
pub search_manuals: bool,
pub search_sources: bool,
pub unusual_only: bool,
pub list_paths: bool,
pub glob_mode: bool,
pub custom_bin_dirs: Vec<PathBuf>,
pub custom_man_dirs: Vec<PathBuf>,
pub custom_src_dirs: Vec<PathBuf>,
pub names: Vec<String>,
}Fields§
§search_binaries: bool§search_manuals: bool§search_sources: bool§unusual_only: bool§list_paths: bool§glob_mode: bool§custom_bin_dirs: Vec<PathBuf>§custom_man_dirs: Vec<PathBuf>§custom_src_dirs: Vec<PathBuf>§names: Vec<String>Implementations§
Source§impl Args
impl Args
pub fn parse_from(raw: &[String]) -> Self
pub fn command() -> Command
pub fn from_arg_matches(m: &ArgMatches) -> Result<Self, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnsafeUnpin for Args
impl UnwindSafe for Args
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