pub struct Destination {
pub page: DestinationPage,
pub fit: Fit,
}Expand description
One explicit destination: a page and how to show it.
Covers ISO 32000-1 §12.3.2.2.
Fields§
§page: DestinationPage§fit: FitImplementations§
Source§impl Destination
impl Destination
Sourcepub fn parse(array: &[Object]) -> Option<Destination>
pub fn parse(array: &[Object]) -> Option<Destination>
Parses a Table 151 array whose elements are direct objects. The
page is a reference or a non-negative integer; a coordinate the
array leaves out reads as null; /FitR needs all four numbers. Any
other form is None.
Covers ISO 32000-1 §12.3.2.2.
Trait Implementations§
Source§impl Clone for Destination
impl Clone for Destination
Source§fn clone(&self) -> Destination
fn clone(&self) -> Destination
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Destination
Source§impl Debug for Destination
impl Debug for Destination
Source§impl PartialEq for Destination
impl PartialEq for Destination
impl StructuralPartialEq for Destination
Auto Trait Implementations§
impl Freeze for Destination
impl RefUnwindSafe for Destination
impl Send for Destination
impl Sync for Destination
impl Unpin for Destination
impl UnsafeUnpin for Destination
impl UnwindSafe for Destination
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