pub struct Bookmark {
pub title: String,
pub page: usize,
pub children: Vec<Bookmark>,
}Expand description
One outline entry: a title, the page it jumps to, and nested children.
Fields§
§title: StringText shown in the outline panel.
page: usizeTarget page index, opened keeping the viewer’s current position and zoom.
children: Vec<Bookmark>Nested bookmarks, in reading order.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Bookmark
Auto Trait Implementations§
impl Freeze for Bookmark
impl RefUnwindSafe for Bookmark
impl Send for Bookmark
impl Sync for Bookmark
impl Unpin for Bookmark
impl UnsafeUnpin for Bookmark
impl UnwindSafe for Bookmark
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