pub struct PrintToPdfParamsBuilder { /* private fields */ }Implementations§
Source§impl PrintToPdfParamsBuilder
impl PrintToPdfParamsBuilder
pub fn landscape(self, landscape: impl Into<bool>) -> Self
pub fn print_background(self, print_background: impl Into<bool>) -> Self
pub fn scale(self, scale: impl Into<f64>) -> Self
pub fn paper_width(self, paper_width: impl Into<f64>) -> Self
pub fn paper_height(self, paper_height: impl Into<f64>) -> Self
pub fn margin_top(self, margin_top: impl Into<f64>) -> Self
pub fn margin_bottom(self, margin_bottom: impl Into<f64>) -> Self
pub fn margin_left(self, margin_left: impl Into<f64>) -> Self
pub fn margin_right(self, margin_right: impl Into<f64>) -> Self
pub fn page_ranges(self, page_ranges: impl Into<String>) -> Self
pub fn header_template(self, header_template: impl Into<String>) -> Self
pub fn prefer_css_page_size(self, prefer_css_page_size: impl Into<bool>) -> Self
pub fn transfer_mode( self, transfer_mode: impl Into<PrintToPdfTransferMode>, ) -> Self
pub fn generate_tagged_pdf(self, generate_tagged_pdf: impl Into<bool>) -> Self
pub fn generate_document_outline( self, generate_document_outline: impl Into<bool>, ) -> Self
pub fn build(self) -> PrintToPdfParams
Trait Implementations§
Source§impl Clone for PrintToPdfParamsBuilder
impl Clone for PrintToPdfParamsBuilder
Source§fn clone(&self) -> PrintToPdfParamsBuilder
fn clone(&self) -> PrintToPdfParamsBuilder
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 Default for PrintToPdfParamsBuilder
impl Default for PrintToPdfParamsBuilder
Source§fn default() -> PrintToPdfParamsBuilder
fn default() -> PrintToPdfParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PrintToPdfParamsBuilder
impl RefUnwindSafe for PrintToPdfParamsBuilder
impl Send for PrintToPdfParamsBuilder
impl Sync for PrintToPdfParamsBuilder
impl Unpin for PrintToPdfParamsBuilder
impl UnwindSafe for PrintToPdfParamsBuilder
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