Struct gen_epub_book::Options [] [src]

pub struct Options {
    pub source_file: (String, PathBuf),
    pub relative_root: (String, PathBuf),
    pub output_file: (String, PathBuf),
    pub verbose: bool,
}

Representation of the application's all configurable values.

Fields

The descriptor file.

The root for relative source paths.

The file to insert the assembled ePub to.

Whether to print more information to stdout. Default: false

Methods

impl Options
[src]

Parse env-wide command-line arguments into an Options instance

Trait Implementations

impl Debug for Options
[src]

Formats the value using the given formatter.

impl Clone for Options
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for Options
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl PartialEq for Options
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Options
[src]