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
source_file: Option<(String, PathBuf)>
The descriptor file, or None
for stdin.
include_directories: Vec<IncludeDirectory>
The roots for relative source paths, or, so called
-I
nclude dirs.
Default:
["."]
ifsource_file == None
, or[
directory containingsource_file
]
otherwise.
output_file: Option<(String, PathBuf)>
The file to insert the assembled ePub to, or None
for stdout.
verbose: bool
Whether to print more information.
Default: false
separator: String
Chosen separator.
Default: ":"
Methods
impl Options
[src]
Trait Implementations
impl Debug for Options
[src]
impl Clone for Options
[src]
fn clone(&self) -> Options
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Hash for Options
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for Options
[src]
fn eq(&self, __arg_0: &Options) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Options) -> bool
This method tests for !=
.