X11Relatable

Trait X11Relatable 

Source
pub trait X11Relatable {
    // Required method
    fn is_window(&self, window: &X11Surface) -> bool;
}
Available on crate feature xwayland only.
Expand description

Trait for objects, that represent an x11 window in some shape or form and can be tested for equality.

Required Methods§

Source

fn is_window(&self, window: &X11Surface) -> bool

Returns if this object is considered to represent the same underlying x11 window as provided

Implementations on Foreign Types§

Source§

impl X11Relatable for WlSurface

Source§

fn is_window(&self, window: &X11Surface) -> bool

Implementors§