pub struct ReaderApp {Show 16 fields
pub pages: Vec<Page>,
pub page_idx: usize,
pub row_idx: usize,
pub column_width: u16,
pub theme: String,
pub chrome: Chrome,
pub title: String,
pub keymap: Keymap,
pub spine_hrefs: Vec<String>,
pub chapter_titles: Vec<String>,
pub current_spine: u32,
pub total_spines: u32,
pub epub_path: PathBuf,
pub book_id: Option<i64>,
pub db: Option<Db>,
pub mode: Mode,
/* private fields */
}Fields§
§pages: Vec<Page>§page_idx: usize§row_idx: usize§column_width: u16§theme: String§chrome: Chrome§title: String§keymap: Keymap§spine_hrefs: Vec<String>§chapter_titles: Vec<String>§current_spine: u32§total_spines: u32§epub_path: PathBuf§book_id: Option<i64>§db: Option<Db>§mode: ModeAuto Trait Implementations§
impl !Freeze for ReaderApp
impl !RefUnwindSafe for ReaderApp
impl Send for ReaderApp
impl !Sync for ReaderApp
impl Unpin for ReaderApp
impl UnsafeUnpin for ReaderApp
impl UnwindSafe for ReaderApp
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more