Trait leanshot_xlib::Drawable[][src]

pub trait Drawable: GetDisplay {
    fn as_drawable(&self) -> Drawable;

    fn get_image(&self, rect: Rectangle) -> Result<Image, X11Error> { ... }
}

Anything that's drawable

Required Methods

Get drawable handle

Provided Methods

Capture a snapshot of this drawable, clipped by rect.

Implementors