pub struct Page {
pub contents: String,
pub title: String,
pub sort_field: Option<f64>,
/* private fields */
}
Fields§
§contents: String
The text displayed in the reader.
title: String
The text displayed in the dock.
sort_field: Option<f64>
A value that will be used to sort filtered pages in descending order. If None, search will try to calculate the relevancy of pages and sort accordingly.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Page
impl Send for Page
impl Sync for Page
impl Unpin for Page
impl UnwindSafe for Page
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