pub enum BookmarkTarget {
Page {
page: ObjRef,
view: AnnotGoToView,
},
Named(String),
None,
}Expand description
Where a bookmark sends the reader.
Variants§
Page
A page in this document, with a view — written as /Dest.
Named(String)
A destination the document names in /Names /Dests — written as a
/Dest naming the string, which the reader resolves through the name
tree.
None
Nothing: a heading that groups its children without jumping anywhere.
Trait Implementations§
Source§impl Clone for BookmarkTarget
impl Clone for BookmarkTarget
Source§impl Debug for BookmarkTarget
impl Debug for BookmarkTarget
Source§impl PartialEq for BookmarkTarget
impl PartialEq for BookmarkTarget
impl StructuralPartialEq for BookmarkTarget
Auto Trait Implementations§
impl Freeze for BookmarkTarget
impl RefUnwindSafe for BookmarkTarget
impl Send for BookmarkTarget
impl Sync for BookmarkTarget
impl Unpin for BookmarkTarget
impl UnsafeUnpin for BookmarkTarget
impl UnwindSafe for BookmarkTarget
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.