[][src]Struct ptagslib::bin::Opt

pub struct Opt {
    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: usize

Number of threads

output: PathBuf

Output filename ( filename '-' means output to stdout )

dir: PathBuf

Search directory

stat: bool

Show statistics

bin_ctags: PathBuf

Path to ctags binary

bin_git: PathBuf

Path to git binary

opt_ctags: Vec<String>

Options passed to ctags

opt_git: Vec<String>

Options passed to git

opt_git_lfs: Vec<String>

Options passed to git-lfs

verbose: bool

Verbose mode

exclude_lfs: bool

Exclude git-lfs tracked files

include_untracked: bool

Include untracked files

include_ignored: bool

Include ignored files

include_submodule: bool

Include submodule files

validate_utf8: bool

Validate UTF8 sequence of tag file

unsorted: bool

Disable tags sort

exclude: Vec<String>

Glob pattern of exclude file ( ex. --exclude '*.rs' )

completion: Option<String>

Generate shell completion file

config: bool

Generate configuration sample file

Trait Implementations

impl Debug for Opt[src]

impl Default for Opt[src]

impl<'de> Deserialize<'de> for Opt where
    Opt: Default
[src]

impl Serialize for Opt[src]

impl StructOpt for Opt[src]

impl StructOptToml for Opt[src]

Auto Trait Implementations

impl RefUnwindSafe for Opt

impl Send for Opt

impl Sync for Opt

impl Unpin for Opt

impl UnwindSafe for Opt

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.