Struct webkit2gtk::builders::PrintOperationBuilder
source · [−]pub struct PrintOperationBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct PrintOperation
objects.
Implementations
sourceimpl 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
.
sourcepub fn page_setup(self, page_setup: &PageSetup) -> Self
pub fn page_setup(self, page_setup: &PageSetup) -> Self
The initial gtk::PageSetup
for the print operation.
sourcepub fn print_settings(self, print_settings: &PrintSettings) -> Self
pub fn print_settings(self, print_settings: &PrintSettings) -> Self
The initial gtk::PrintSettings
for the print operation.
Trait Implementations
sourceimpl Clone for PrintOperationBuilder
impl Clone for PrintOperationBuilder
sourcefn clone(&self) -> PrintOperationBuilder
fn clone(&self) -> PrintOperationBuilder
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for PrintOperationBuilder
impl Default for PrintOperationBuilder
sourcefn default() -> PrintOperationBuilder
fn default() -> PrintOperationBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for PrintOperationBuilder
impl !Send for PrintOperationBuilder
impl !Sync for PrintOperationBuilder
impl Unpin for PrintOperationBuilder
impl UnwindSafe for PrintOperationBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more