Skip to main content

Args

Struct Args 

Source
pub struct Args {
Show 21 fields pub patterns: Vec<String>, pub paths: Vec<PathBuf>, pub globs: Vec<String>, pub archive_globs: Vec<String>, pub jobs: usize, pub nice: Option<i32>, pub drop_cache: bool, pub inflate: InflateMode, pub inflate_budget: u64, pub load_limit: Option<f64>, pub archive_sep: char, pub sort: bool, pub list_members: bool, pub count: bool, pub files_with_matches: bool, pub quiet: bool, pub json: bool, pub color: ColorArg, pub escape: ColorArg, pub search: SearchOpts, pub print: PrintOpts,
}

Fields§

§patterns: Vec<String>§paths: Vec<PathBuf>§globs: Vec<String>§archive_globs: Vec<String>§jobs: usize§nice: Option<i32>§drop_cache: bool§inflate: InflateMode§inflate_budget: u64§load_limit: Option<f64>§archive_sep: char§sort: bool§list_members: bool§count: bool§files_with_matches: bool§quiet: bool§json: bool§color: ColorArg§escape: ColorArg§search: SearchOpts§print: PrintOpts

Trait Implementations§

Source§

impl Default for Args

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.