Struct dylint::Dylint[][src]

pub struct Dylint {
    pub all: bool,
    pub libs: Vec<String>,
    pub list: bool,
    pub paths: Vec<String>,
    pub quiet: bool,
    pub names: Vec<String>,
    pub args: Vec<String>,
}

Fields

all: boollibs: Vec<String>list: boolpaths: Vec<String>quiet: boolnames: Vec<String>args: Vec<String>

Trait Implementations

impl Clap for Dylint[src]

fn parse() -> Self[src]

Parse from std::env::args_os(), exit on error

fn try_parse() -> Result<Self, Error>[src]

Parse from std::env::args_os(), return Err on error.

fn parse_from<I, T>(itr: I) -> Self where
    T: Into<OsString> + Clone,
    I: IntoIterator<Item = T>, 
[src]

Parse from iterator, exit on error

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
    T: Into<OsString> + Clone,
    I: IntoIterator<Item = T>, 
[src]

Parse from iterator, return Err on error.

impl Debug for Dylint[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Default for Dylint[src]

fn default() -> Dylint[src]

Returns the “default value” for a type. Read more

impl FromArgMatches for Dylint[src]

fn from_arg_matches(matches: &ArgMatches) -> Self[src]

It’s common to have an “application context” struct (sometimes called config) that represents all the normalized values after being processed by the CLI. Read more

impl IntoApp for Dylint[src]

fn into_app<'b>() -> App<'b>[src]

@TODO @release @docs

fn augment_clap<'b>(app: App<'b>) -> App<'b>[src]

@TODO @release @docs

Auto Trait Implementations

impl RefUnwindSafe for Dylint

impl Send for Dylint

impl Sync for Dylint

impl Unpin for Dylint

impl UnwindSafe for Dylint

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V