pub trait NativeExt:
IsA<Native>
+ Sealed
+ 'static {
// Provided methods
fn renderer(&self) -> Option<Renderer> { ... }
fn surface(&self) -> Option<Surface> { ... }
fn surface_transform(&self) -> (f64, f64) { ... }
fn realize(&self) { ... }
fn unrealize(&self) { ... }
}
Expand description
Trait containing all Native
methods.
§Implementors
AboutDialog
, AppChooserDialog
, ApplicationWindow
, Assistant
, ColorChooserDialog
, Dialog
, DragIcon
, EmojiChooser
, FileChooserDialog
, FontChooserDialog
, MessageDialog
, Native
, PageSetupUnixDialog
, PopoverMenu
, Popover
, PrintUnixDialog
, Root
, ShortcutsWindow
, Window
Provided Methods§
Sourcefn surface_transform(&self) -> (f64, f64)
fn surface_transform(&self) -> (f64, f64)
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.