pub trait PrintOperationPreviewImpl: ObjectImpl + ObjectSubclass<Type: IsA<PrintOperationPreview>> {
// Required methods
fn render_page(&self, page_nr: i32);
fn is_selected(&self, page_nr: i32) -> bool;
fn end_preview(&self);
// Provided methods
fn ready(&self, context: &PrintContext) { ... }
fn got_page_size(&self, context: &PrintContext, page_setup: &PageSetup) { ... }
}
Required Methods§
fn render_page(&self, page_nr: i32)
fn is_selected(&self, page_nr: i32) -> bool
fn end_preview(&self)
Provided Methods§
fn ready(&self, context: &PrintContext)
fn got_page_size(&self, context: &PrintContext, page_setup: &PageSetup)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.