pub struct PrintOperationBuilder { /* private fields */ }Expand description
A builder-pattern type to construct PrintOperation objects.
Implementations§
Source§impl PrintOperationBuilder
impl PrintOperationBuilder
pub fn page_setup(self, page_setup: &PageSetup) -> Self
pub fn print_settings(self, print_settings: &PrintSettings) -> Self
pub fn web_view(self, web_view: &impl IsA<WebView>) -> Self
Sourcepub fn build(self) -> PrintOperation
pub fn build(self) -> PrintOperation
Build the PrintOperation.
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