[][src]Struct cbb::Opt

pub struct Opt {
    pub comic_folder: PathBuf,
    pub dry_run: bool,
    pub pad: Option<usize>,


comic_folder: PathBuf

Path of the comic folder to bind

If the recursive option is set, consider the folder given as a library containing multiples folders. It will not treat the given folder as a comic in itself.

dry_run: bool

Do a dry run of the program printing to stdout the action it would take

Print how each file would be renamed.

pad: Option<usize>

Set the pad you want to use

If not set or set to a value inferior to the maximum pad of the comic, the value is ignored.


impl Opt[src]

pub fn new<I, T>(args: I) -> Self where
    I: IntoIterator<Item = T>,
    T: Into<OsString> + Clone

Trait Implementations

impl Debug for Opt[src]

impl StructOpt 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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.