pub struct Args { /* private fields */ }Implementations§
Source§impl Args
impl Args
pub const fn print_errs(self) -> Self
pub const fn permits(self, permits: u32) -> Self
pub const fn exe_path(self, exe_path: &'static str) -> Self
pub const fn args(self, args: &'static [&'static str]) -> Self
pub const fn extensions(self, extensions: &'static [&'static str]) -> Self
pub fn include(self, files: impl IntoIterator<Item = impl AsRef<Path>>) -> Self
pub fn exclude(self, files: impl IntoIterator<Item = impl AsRef<Path>>) -> Self
Sourcepub fn parse_from<I, T>(itr: I) -> Self
pub fn parse_from<I, T>(itr: I) -> Self
Source§impl Args
impl Args
Sourcepub async fn test(self) -> TestExitCode
pub async fn test(self) -> TestExitCode
Examples found in repository?
More examples
Trait Implementations§
impl Copy for Args
Auto Trait Implementations§
impl Freeze for Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more