Trait smithay_client_toolkit::shell::xdg::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)

Object Safety§

This trait is not object safe.

Implementors§