[][src]Struct epub_builder::ZipLibrary

pub struct ZipLibrary { /* fields omitted */ }

Zip files using the Rust zip library.

While this has the advantage of not requiring an external zip command, I have run into some issues when trying to export EPUB generated with this method to ereaders (e.g. Kobo).

Note that these takes care of adding the mimetype (since it must not be deflated), it should not be added manually.

Methods

impl ZipLibrary[src]

pub fn new() -> Result<ZipLibrary>[src]

Creates a new wrapper for zip library

Also add mimetype at the beginning of the EPUB file.

Trait Implementations

impl Zip for ZipLibrary[src]

impl Debug for ZipLibrary[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]