pub struct PdfPrintSettings {Show 18 fields
pub size: usize,
pub landscape: c_int,
pub print_background: c_int,
pub scale: f64,
pub paper_width: f64,
pub paper_height: f64,
pub prefer_css_page_size: c_int,
pub margin_type: PdfPrintMarginType,
pub margin_top: f64,
pub margin_right: f64,
pub margin_bottom: f64,
pub margin_left: f64,
pub page_ranges: CefString,
pub display_header_footer: c_int,
pub header_template: CefString,
pub footer_template: CefString,
pub generate_tagged_pdf: c_int,
pub generate_document_outline: c_int,
}Expand description
See _cef_pdf_print_settings_t for more documentation.
Fields§
§size: usize§landscape: c_int§print_background: c_int§scale: f64§paper_width: f64§paper_height: f64§prefer_css_page_size: c_int§margin_type: PdfPrintMarginType§margin_top: f64§margin_right: f64§margin_bottom: f64§margin_left: f64§page_ranges: CefString§header_template: CefString§generate_tagged_pdf: c_int§generate_document_outline: c_intTrait Implementations§
Source§impl Clone for PdfPrintSettings
impl Clone for PdfPrintSettings
Source§fn clone(&self) -> PdfPrintSettings
fn clone(&self) -> PdfPrintSettings
Returns a duplicate of the value. Read more
1.0.0 · 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 PdfPrintSettings
impl Debug for PdfPrintSettings
Source§impl Default for PdfPrintSettings
impl Default for PdfPrintSettings
Source§impl From<PdfPrintSettings> for _cef_pdf_print_settings_t
impl From<PdfPrintSettings> for _cef_pdf_print_settings_t
Source§fn from(value: PdfPrintSettings) -> Self
fn from(value: PdfPrintSettings) -> Self
Converts to this type from the input type.
Source§impl From<_cef_pdf_print_settings_t> for PdfPrintSettings
impl From<_cef_pdf_print_settings_t> for PdfPrintSettings
Source§fn from(value: _cef_pdf_print_settings_t) -> Self
fn from(value: _cef_pdf_print_settings_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PdfPrintSettings
impl RefUnwindSafe for PdfPrintSettings
impl !Send for PdfPrintSettings
impl !Sync for PdfPrintSettings
impl Unpin for PdfPrintSettings
impl UnwindSafe for PdfPrintSettings
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