pub struct EpubExporter { /* private fields */ }Expand description
EPUB format exporter.
Creates standard EPUB files compatible with most e-readers.
§Example
use boko::Book;
use boko::export::{EpubExporter, Exporter};
use std::fs::File;
let mut book = Book::open("input.azw3")?;
let mut file = File::create("output.epub")?;
EpubExporter::new().export(&mut book, &mut file)?;Implementations§
Source§impl EpubExporter
impl EpubExporter
Sourcepub fn with_config(self, config: EpubConfig) -> Self
pub fn with_config(self, config: EpubConfig) -> Self
Configure the exporter with custom settings.
Trait Implementations§
Source§impl Default for EpubExporter
impl Default for EpubExporter
Auto Trait Implementations§
impl Freeze for EpubExporter
impl RefUnwindSafe for EpubExporter
impl Send for EpubExporter
impl Sync for EpubExporter
impl Unpin for EpubExporter
impl UnwindSafe for EpubExporter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more