Struct chromiumoxide::cdp::browser_protocol::page::PrintToPdfParamsBuilder[][src]

pub struct PrintToPdfParamsBuilder { /* fields omitted */ }

Implementations

impl PrintToPdfParamsBuilder[src]

pub fn landscape(self, landscape: impl Into<bool>) -> PrintToPdfParamsBuilder[src]

pub fn print_background(
    self,
    print_background: impl Into<bool>
) -> PrintToPdfParamsBuilder
[src]

pub fn scale(self, scale: impl Into<f64>) -> PrintToPdfParamsBuilder[src]

pub fn paper_width(self, paper_width: impl Into<f64>) -> PrintToPdfParamsBuilder[src]

pub fn paper_height(
    self,
    paper_height: impl Into<f64>
) -> PrintToPdfParamsBuilder
[src]

pub fn margin_top(self, margin_top: impl Into<f64>) -> PrintToPdfParamsBuilder[src]

pub fn margin_bottom(
    self,
    margin_bottom: impl Into<f64>
) -> PrintToPdfParamsBuilder
[src]

pub fn margin_left(self, margin_left: impl Into<f64>) -> PrintToPdfParamsBuilder[src]

pub fn margin_right(
    self,
    margin_right: impl Into<f64>
) -> PrintToPdfParamsBuilder
[src]

pub fn page_ranges(
    self,
    page_ranges: impl Into<String>
) -> PrintToPdfParamsBuilder
[src]

pub fn ignore_invalid_page_ranges(
    self,
    ignore_invalid_page_ranges: impl Into<bool>
) -> PrintToPdfParamsBuilder
[src]

pub fn header_template(
    self,
    header_template: impl Into<String>
) -> PrintToPdfParamsBuilder
[src]

pub fn footer_template(
    self,
    footer_template: impl Into<String>
) -> PrintToPdfParamsBuilder
[src]

pub fn prefer_css_page_size(
    self,
    prefer_css_page_size: impl Into<bool>
) -> PrintToPdfParamsBuilder
[src]

pub fn transfer_mode(
    self,
    transfer_mode: impl Into<PrintToPdfTransferMode>
) -> PrintToPdfParamsBuilder
[src]

pub fn build(self) -> PrintToPdfParams[src]

Trait Implementations

impl Clone for PrintToPdfParamsBuilder[src]

impl Default for PrintToPdfParamsBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,