Skip to main content

AppExt

Trait AppExt 

Source
pub trait AppExt: Sized {
Show 24 methods // Required method fn _arg(self, arg: Arg<'static, 'static>) -> Self; // Provided methods fn arg_package_spec( self, package: &'static str, all: &'static str, exclude: &'static str, ) -> Self { ... } fn arg_package_spec_simple(self, package: &'static str) -> Self { ... } fn arg_package(self, package: &'static str) -> Self { ... } fn arg_jobs(self) -> Self { ... } fn arg_targets_all( self, lib: &'static str, bin: &'static str, bins: &'static str, example: &'static str, examples: &'static str, test: &'static str, tests: &'static str, bench: &'static str, benches: &'static str, all: &'static str, ) -> Self { ... } fn arg_targets_lib_bin( self, lib: &'static str, bin: &'static str, bins: &'static str, ) -> Self { ... } fn arg_targets_bins_examples( self, bin: &'static str, bins: &'static str, example: &'static str, examples: &'static str, ) -> Self { ... } fn arg_targets_bin_example( self, bin: &'static str, example: &'static str, ) -> Self { ... } fn arg_features(self) -> Self { ... } fn arg_release(self, release: &'static str) -> Self { ... } fn arg_profile(self, profile: &'static str) -> Self { ... } fn arg_doc(self, doc: &'static str) -> Self { ... } fn arg_target_triple(self, target: &'static str) -> Self { ... } fn arg_target_dir(self) -> Self { ... } fn arg_manifest_path(self) -> Self { ... } fn arg_message_format(self) -> Self { ... } fn arg_build_plan(self) -> Self { ... } fn arg_unit_graph(self) -> Self { ... } fn arg_deps(self) -> Self { ... } fn arg_deps_remote(self) -> Self { ... } fn arg_new_opts(self) -> Self { ... } fn arg_index(self) -> Self { ... } fn arg_dry_run(self, dry_run: &'static str) -> Self { ... }
}

Required Methods§

Source

fn _arg(self, arg: Arg<'static, 'static>) -> Self

Provided Methods§

Source

fn arg_package_spec( self, package: &'static str, all: &'static str, exclude: &'static str, ) -> Self

Source

fn arg_package_spec_simple(self, package: &'static str) -> Self

Source

fn arg_package(self, package: &'static str) -> Self

Source

fn arg_jobs(self) -> Self

Source

fn arg_targets_all( self, lib: &'static str, bin: &'static str, bins: &'static str, example: &'static str, examples: &'static str, test: &'static str, tests: &'static str, bench: &'static str, benches: &'static str, all: &'static str, ) -> Self

Source

fn arg_targets_lib_bin( self, lib: &'static str, bin: &'static str, bins: &'static str, ) -> Self

Source

fn arg_targets_bins_examples( self, bin: &'static str, bins: &'static str, example: &'static str, examples: &'static str, ) -> Self

Source

fn arg_targets_bin_example( self, bin: &'static str, example: &'static str, ) -> Self

Source

fn arg_features(self) -> Self

Source

fn arg_release(self, release: &'static str) -> Self

Source

fn arg_profile(self, profile: &'static str) -> Self

Source

fn arg_doc(self, doc: &'static str) -> Self

Source

fn arg_target_triple(self, target: &'static str) -> Self

Source

fn arg_target_dir(self) -> Self

Source

fn arg_manifest_path(self) -> Self

Source

fn arg_message_format(self) -> Self

Source

fn arg_build_plan(self) -> Self

Source

fn arg_unit_graph(self) -> Self

Source

fn arg_deps(self) -> Self

Source

fn arg_deps_remote(self) -> Self

Source

fn arg_new_opts(self) -> Self

Source

fn arg_index(self) -> Self

Source

fn arg_dry_run(self, dry_run: &'static str) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§