pub enum DestinationPage {
Object(ObjRef),
Number(u32),
}Expand description
The page a destination shows.
Covers ISO 32000-1 §12.3.2.2.
Variants§
Object(ObjRef)
A reference to a page object of this document.
Number(u32)
A 0-based page number, as a remote go-to action’s destination gives it, the page being in another document (§12.6.4.3).
Trait Implementations§
Source§impl Clone for DestinationPage
impl Clone for DestinationPage
impl Copy for DestinationPage
Source§impl Debug for DestinationPage
impl Debug for DestinationPage
Source§impl PartialEq for DestinationPage
impl PartialEq for DestinationPage
impl StructuralPartialEq for DestinationPage
Auto Trait Implementations§
impl Freeze for DestinationPage
impl RefUnwindSafe for DestinationPage
impl Send for DestinationPage
impl Sync for DestinationPage
impl Unpin for DestinationPage
impl UnsafeUnpin for DestinationPage
impl UnwindSafe for DestinationPage
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