pub struct PdfViewInfo {Show 19 fields
pub display_mode: i32,
pub display_direction: i32,
pub displays_page_breaks: bool,
pub page_break_margins: PdfEdgeInsets,
pub display_box: i32,
pub displays_as_book: bool,
pub displays_rtl: bool,
pub background_color: Option<PdfColor>,
pub interpolation_quality: i32,
pub page_shadows_enabled: bool,
pub scale_factor: f64,
pub min_scale_factor: f64,
pub max_scale_factor: f64,
pub auto_scales: bool,
pub scale_factor_for_size_to_fit: f64,
pub in_markup_mode: bool,
pub has_document_view: bool,
pub visible_page_count: usize,
pub current_page_label: Option<String>,
}Fields§
§display_mode: i32§display_direction: i32§displays_page_breaks: bool§page_break_margins: PdfEdgeInsets§display_box: i32§displays_as_book: bool§displays_rtl: bool§background_color: Option<PdfColor>§interpolation_quality: i32§page_shadows_enabled: bool§scale_factor: f64§min_scale_factor: f64§max_scale_factor: f64§auto_scales: bool§scale_factor_for_size_to_fit: f64§in_markup_mode: bool§has_document_view: bool§visible_page_count: usize§current_page_label: Option<String>Implementations§
Source§impl PdfViewInfo
impl PdfViewInfo
pub fn display_mode_enum(&self) -> Option<PdfDisplayMode>
pub fn display_direction_enum(&self) -> Option<PdfDisplayDirection>
pub fn interpolation_quality_enum(&self) -> Option<PdfInterpolationQuality>
pub fn display_box_enum(&self) -> Option<DisplayBox>
Trait Implementations§
Source§impl Clone for PdfViewInfo
impl Clone for PdfViewInfo
Source§fn clone(&self) -> PdfViewInfo
fn clone(&self) -> PdfViewInfo
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 moreSource§impl Debug for PdfViewInfo
impl Debug for PdfViewInfo
Source§impl<'de> Deserialize<'de> for PdfViewInfo
impl<'de> Deserialize<'de> for PdfViewInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PdfViewInfo
impl RefUnwindSafe for PdfViewInfo
impl Send for PdfViewInfo
impl Sync for PdfViewInfo
impl Unpin for PdfViewInfo
impl UnsafeUnpin for PdfViewInfo
impl UnwindSafe for PdfViewInfo
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