[][src]Enum htmlgrep::flag::Argument

pub enum Argument {
    Line(i64),
    Option(charString),
    Flag(char),
    Free(String),
    Stdin,
}

Variants

Line(i64)

+42

Option(charString)

-f bar

Flag(char)

-h

Free(String)
Stdin

Methods

impl Argument[src]

pub fn as_str(&self) -> Option<&str>[src]

Trait Implementations

impl PartialEq<Argument> for Argument[src]

impl Debug for Argument[src]

impl StructuralPartialEq for Argument[src]

Auto Trait Implementations

Blanket Implementations

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 = !

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.

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

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

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