[go: up one dir, main page]

NativeExt

Trait NativeExt 

Source
pub trait NativeExt: IsA<Native> + '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) { ... }
}

Provided Methods§

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.

Implementors§

Source§

impl<O: IsA<Native>> NativeExt for O