#[non_exhaustive]pub enum DestType {
Unknown,
Xyz,
Fit,
Fith,
Fitv,
Fitr,
Fitb,
Fitbh,
Fitbv,
Named,
}
Expand description
Destination types
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Unknown
unknown destination
Xyz
go to page with coordinates (left, top) positioned at the upper-left corner of the window and the contents of the page magnified by the factor zoom
Fit
go to page with its contents magnified just enough to fit the entire page within the window both horizontally and vertically
Fith
go to page with the vertical coordinate top positioned at the top edge of the window and the contents of the page magnified just enough to fit the entire width of the page within the window
Fitv
go to page with the horizontal coordinate left positioned at the left edge of the window and the contents of the page magnified just enough to fit the entire height of the page within the window
Fitr
go to page with its contents magnified just enough to fit the rectangle specified by the coordinates left, bottom, right, and top entirely within the window both horizontally and vertically
Fitb
go to page with its contents magnified just enough to fit its bounding box entirely within the window both horizontally and vertically
Fitbh
go to page with the vertical coordinate top positioned at the top edge of the window and the contents of the page magnified just enough to fit the entire width of its bounding box within the window
Fitbv
go to page with the horizontal coordinate left positioned at the left edge of the window and the contents of the page magnified just enough to fit the entire height of its bounding box within the window
Named
got to page specified by a name. See Document::find_dest()
Trait Implementations§
source§impl<'a> FromValue<'a> for DestType
impl<'a> FromValue<'a> for DestType
§type Checker = GenericValueTypeChecker<DestType>
type Checker = GenericValueTypeChecker<DestType>
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Value
. Read moresource§impl HasParamSpec for DestType
impl HasParamSpec for DestType
source§impl Ord for DestType
impl Ord for DestType
source§impl PartialEq for DestType
impl PartialEq for DestType
source§impl PartialOrd for DestType
impl PartialOrd for DestType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl StaticType for DestType
impl StaticType for DestType
source§fn static_type() -> Type
fn static_type() -> Type
Self
.impl Copy for DestType
impl Eq for DestType
impl StructuralPartialEq for DestType
Auto Trait Implementations§
impl Freeze for DestType
impl RefUnwindSafe for DestType
impl Send for DestType
impl Sync for DestType
impl Unpin for DestType
impl UnwindSafe for DestType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
source§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
SendValue
clone of self
.