gdk4_wayland::prelude

Trait WaylandSurfaceExtManual

Source
pub trait WaylandSurfaceExtManual:
    Sealed
    + IsA<WaylandSurface>
    + 'static {
    // Provided method
    fn wl_surface(&self) -> Option<WlSurface> { ... }
}
Expand description

Trait containing manually implemented methods of WaylandSurface.

Provided Methods§

Source

fn wl_surface(&self) -> Option<WlSurface>

Available on crate feature wayland_crate only.

Returns the Wayland wl_surface of a gdk::Surface.

§Returns

a Wayland wl_surface

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§