Trait XdgSurface

Source
pub trait XdgSurface: WaylandSurface + Sized {
    // Required method
    fn xdg_surface(&self) -> &XdgSurface;

    // Provided method
    fn set_window_geometry(&self, x: u32, y: u32, width: u32, height: u32) { ... }
}

Required Methods§

Source

fn xdg_surface(&self) -> &XdgSurface

The underlying XdgSurface.

Provided Methods§

Source

fn set_window_geometry(&self, x: u32, y: u32, width: u32, height: u32)

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§