pub struct PrintDialogBuilder { /* private fields */ }Expand description
A builder-pattern type to construct PrintDialog objects.
Implementations§
Source§impl PrintDialogBuilder
impl PrintDialogBuilder
pub fn accept_label(self, accept_label: impl Into<GString>) -> Self
pub fn modal(self, modal: bool) -> Self
pub fn page_setup(self, page_setup: &PageSetup) -> Self
pub fn print_settings(self, print_settings: &PrintSettings) -> Self
pub fn title(self, title: impl Into<GString>) -> Self
Sourcepub fn build(self) -> PrintDialog
pub fn build(self) -> PrintDialog
Build the PrintDialog.
Auto Trait Implementations§
impl Freeze for PrintDialogBuilder
impl RefUnwindSafe for PrintDialogBuilder
impl !Send for PrintDialogBuilder
impl !Sync for PrintDialogBuilder
impl Unpin for PrintDialogBuilder
impl UnwindSafe for PrintDialogBuilder
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