Struct gabelstaplerwm::wm::layout::Geometry [] [src]

pub struct Geometry {
    pub x: u32,
    pub y: u32,
    pub width: u32,
    pub height: u32,
}

A window's geometry.

Fields

x coordinate of window

y coordinate of window

width of window

height of window

Methods

impl Geometry
[src]

Check whether a geometry contains a point.

Check whether two Geometrys overlap.

Trait Implementations

impl Clone for Geometry
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Geometry
[src]

Formats the value using the given formatter.