pub struct PrintOperationBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct PrintOperation
objects.
Implementations§
Source§impl PrintOperationBuilder
impl PrintOperationBuilder
Sourcepub fn new() -> Self
pub fn new() -> Self
Create a new PrintOperationBuilder
.
Sourcepub fn build(self) -> PrintOperation
pub fn build(self) -> PrintOperation
Build the PrintOperation
.
pub fn page_setup(self, page_setup: &PageSetup) -> Self
pub fn print_settings(self, print_settings: &PrintSettings) -> Self
pub fn web_view<P: IsA<WebView>>(self, web_view: &P) -> Self
Trait Implementations§
Source§impl Clone for PrintOperationBuilder
impl Clone for PrintOperationBuilder
Source§fn clone(&self) -> PrintOperationBuilder
fn clone(&self) -> PrintOperationBuilder
Returns a copy 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 PrintOperationBuilder
impl Default for PrintOperationBuilder
Source§fn default() -> PrintOperationBuilder
fn default() -> PrintOperationBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PrintOperationBuilder
impl RefUnwindSafe for PrintOperationBuilder
impl !Send for PrintOperationBuilder
impl !Sync for PrintOperationBuilder
impl Unpin for PrintOperationBuilder
impl UnwindSafe for PrintOperationBuilder
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