pub struct Opt {Show 19 fields
pub thread: usize,
pub output: PathBuf,
pub dir: PathBuf,
pub stat: bool,
pub bin_ctags: PathBuf,
pub bin_git: PathBuf,
pub opt_ctags: Vec<String>,
pub opt_git: Vec<String>,
pub opt_git_lfs: Vec<String>,
pub verbose: bool,
pub exclude_lfs: bool,
pub include_untracked: bool,
pub include_ignored: bool,
pub include_submodule: bool,
pub validate_utf8: bool,
pub unsorted: bool,
pub exclude: Vec<String>,
pub completion: Option<String>,
pub config: bool,
}Fields§
§thread: usizeNumber of threads
output: PathBufOutput filename ( filename ‘-’ means output to stdout )
dir: PathBufSearch directory
stat: boolShow statistics
Path to ctags binary
bin_git: PathBufPath to git binary
Options passed to ctags
opt_git: Vec<String>Options passed to git
opt_git_lfs: Vec<String>Options passed to git-lfs
verbose: boolVerbose mode
exclude_lfs: boolExclude git-lfs tracked files
include_untracked: boolInclude untracked files
include_ignored: boolInclude ignored files
include_submodule: boolInclude submodule files
validate_utf8: boolValidate UTF8 sequence of tag file
unsorted: boolDisable tags sort
exclude: Vec<String>Glob pattern of exclude file ( ex. –exclude ‘*.rs’ )
completion: Option<String>Generate shell completion file
config: boolGenerate configuration sample file
Trait Implementations§
source§impl<'de> Deserialize<'de> for Optwhere
Opt: Default,
impl<'de> Deserialize<'de> for Optwhere
Opt: Default,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl StructOpt for Opt
impl StructOpt for Opt
source§fn from_clap(matches: &ArgMatches<'_>) -> Self
fn from_clap(matches: &ArgMatches<'_>) -> Self
Creates the struct from
clap::ArgMatches. It cannot fail
with a parameter generated by clap by construction. Read moresource§fn from_args() -> Selfwhere
Self: Sized,
fn from_args() -> Selfwhere
Self: Sized,
Gets the struct from the command line arguments. Print the
error message and quit the program in case of failure. Read more
source§fn from_iter<I>(iter: I) -> Selfwhere
Self: Sized,
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString> + Clone,
fn from_iter<I>(iter: I) -> Selfwhere
Self: Sized,
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString> + Clone,
Gets the struct from any iterator such as a
Vec of your making.
Print the error message and quit the program in case of failure. Read moresource§fn from_iter_safe<I>(iter: I) -> Result<Self, Error>where
Self: Sized,
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString> + Clone,
fn from_iter_safe<I>(iter: I) -> Result<Self, Error>where
Self: Sized,
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString> + Clone,
Gets the struct from any iterator such as a
Vec of your making. Read moresource§impl StructOptToml for Opt
impl StructOptToml for Opt
source§fn merge<'a>(from_toml: Self, from_args: Self, args: &ArgMatches<'_>) -> Selfwhere
Self: Sized,
Self: StructOpt,
Self: Deserialize<'a>,
fn merge<'a>(from_toml: Self, from_args: Self, args: &ArgMatches<'_>) -> Selfwhere
Self: Sized,
Self: StructOpt,
Self: Deserialize<'a>,
Merge the struct from TOML and the struct from args