[][src]Struct leftwm::models::XYHW

pub struct XYHW { /* fields omitted */ }

Methods

impl XYHW[src]

pub fn x(&self) -> i32[src]

pub fn y(&self) -> i32[src]

pub fn h(&self) -> i32[src]

pub fn w(&self) -> i32[src]

pub fn minw(&self) -> i32[src]

pub fn maxw(&self) -> i32[src]

pub fn minh(&self) -> i32[src]

pub fn maxh(&self) -> i32[src]

pub fn set_x(&mut self, value: i32)[src]

pub fn set_y(&mut self, value: i32)[src]

pub fn set_h(&mut self, value: i32)[src]

pub fn set_w(&mut self, value: i32)[src]

pub fn set_minw(&mut self, value: i32)[src]

pub fn set_maxw(&mut self, value: i32)[src]

pub fn set_minh(&mut self, value: i32)[src]

pub fn set_maxh(&mut self, value: i32)[src]

pub fn contains_point(&self, x: i32, y: i32) -> bool[src]

pub fn volume(&self) -> u64[src]

pub fn without(&self, other: &XYHW) -> XYHW[src]

pub fn center_halfed(&self) -> XYHW[src]

Trait Implementations

impl Copy for XYHW[src]

impl PartialEq<XYHW> for XYHW[src]

impl Default for XYHW[src]

impl Clone for XYHW[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<XYHWBuilder> for XYHW[src]

impl From<XYHW> for XYHWChange[src]

impl Debug for XYHW[src]

impl Serialize for XYHW[src]

impl<'de> Deserialize<'de> for XYHW[src]

Auto Trait Implementations

impl Send for XYHW

impl Sync for XYHW

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T