pub struct ChapterEntry<'a> {
pub id: ChapterId,
pub path: &'a str,
pub decoded_len: u64,
}Expand description
One chapter, as listed by a BookReader.
Fields§
§id: ChapterIdThe id to read the chapter with.
path: &'a strThe path of the chapter inside the book.
decoded_len: u64The length of the text in bytes.
Trait Implementations§
Source§impl<'a> Clone for ChapterEntry<'a>
impl<'a> Clone for ChapterEntry<'a>
impl<'a> Copy for ChapterEntry<'a>
Source§impl<'a> Debug for ChapterEntry<'a>
impl<'a> Debug for ChapterEntry<'a>
impl<'a> Eq for ChapterEntry<'a>
Source§impl<'a> PartialEq for ChapterEntry<'a>
impl<'a> PartialEq for ChapterEntry<'a>
impl<'a> StructuralPartialEq for ChapterEntry<'a>
Auto Trait Implementations§
impl<'a> Forget for ChapterEntry<'a>
impl<'a> Freeze for ChapterEntry<'a>
impl<'a> Move for ChapterEntry<'a>
impl<'a> RefUnwindSafe for ChapterEntry<'a>
impl<'a> Send for ChapterEntry<'a>
impl<'a> Sync for ChapterEntry<'a>
impl<'a> Unpin for ChapterEntry<'a>
impl<'a> UnsafeUnpin for ChapterEntry<'a>
impl<'a> UnwindSafe for ChapterEntry<'a>
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