Struct gabelstaplerwm::wm::layout::TilingArea
[−]
[src]
pub struct TilingArea { pub offset_x: u32, pub offset_y: u32, pub width: u32, pub height: u32, }
A screen area size to be accounted for when arranging windows.
Describes the area used for tiling windows. This allows to leave an open spot for desktop windows, bars and whatever else you might want.
Fields
offset_x: u32
x offset of tiling area
offset_y: u32
y offset of tiling area
width: u32
width of tiling area
height: u32
height of tiling area
Methods
impl TilingArea
[src]
fn new(old: &TilingArea, width: u32, height: u32) -> TilingArea
Create a new TilingArea
object.
Uses a TilingArea
that represents the user's wishes to get something
that is actually possible. Offsets, however are honored.
Trait Implementations
impl Clone for TilingArea
[src]
fn clone(&self) -> TilingArea
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for TilingArea
[src]
impl Default for TilingArea
[src]
fn default() -> TilingArea
Returns the "default value" for a type. Read more