Struct gen_epub_book::Options [] [src]

pub struct Options {
    pub source_file: Option<(String, PathBuf)>,
    pub include_directories: Vec<IncludeDirectory>,
    pub output_file: Option<(String, PathBuf)>,
    pub verbose: bool,
    pub separator: String,
}

Representation of the application's all configurable values.

Fields

The descriptor file, or None for stdin.

The roots for relative source paths, or, so called -Include dirs.

Default:

  • ["."] if source_file == None, or
  • [directory containing source_file] otherwise.

The file to insert the assembled ePub to, or None for stdout.

Whether to print more information.

Default: false

Chosen separator.

Default: ":"

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 given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

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]