[][src]Struct aoc_main::Opt

pub struct Opt {
    pub stdin: bool,
    pub file: Option<PathBuf>,
    pub days: Vec<String>,
    pub bench: bool,
}

Fields

stdin: bool

Read input from stdin instead of downloading it

file: Option<PathBuf>

Read input from file instead of downloading it

days: Vec<String>

Days to execute. By default all implemented days will run.

bench: bool

Run criterion benchmarks

Trait Implementations

impl Clap for Opt[src]

impl Debug for Opt[src]

impl FromArgMatches for Opt[src]

impl IntoApp 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> 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.