Struct leanshot_xlib::Rectangle[][src]

pub struct Rectangle {
    pub x: i32,
    pub y: i32,
    pub width: u32,
    pub height: u32,
}

A rectangle.

Fields

x

y

width

height

Methods

impl Rectangle
[src]

Create a new Rectangle from u32s

Trait Implementations

impl Debug for Rectangle
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Rectangle

impl Sync for Rectangle