Struct locmess::Args[][src]

pub struct Args {
    pub version: bool,
    pub color: BoolArg,
    pub file_type: Option<String>,
    pub over: Option<usize>,
    pub file: Option<PathBuf>,
}

locmess answers the essential question you forgot to ask: “What’s the distribution of line lenghts in my source code ?”.

Source at https://github.com/Canop/locmess

Fields

version: bool

print the version

color: BoolArg

color and style: ‘yes’, ‘no’ or ‘auto’ (auto should be good in most cases)

file_type: Option<String>

filter files by type, eg -t js

over: Option<usize>

list files with lines longer than this treshold

file: Option<PathBuf>

the source code file or folder to analyze

Trait Implementations

impl Debug for Args[src]

impl FromArgs for Args[src]

impl TopLevelCommand for Args[src]

Auto Trait Implementations

impl RefUnwindSafe for Args

impl Send for Args

impl Sync for Args

impl Unpin for Args

impl UnwindSafe for Args

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> From<T> for T[src]

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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.