epub-parser 0.2.1

A Rust library for extracting metadata, table of contents, text, cover, and images from EPUB files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[derive(Debug, Clone, Default)]
pub struct Page {
    pub index: usize,
    pub content: String,
}

impl Page {
    pub fn new(index: usize, content: String) -> Self {
        Page { index, content }
    }
}