Struct leftwm_core::models::XyhwBuilder [−][src]
pub struct XyhwBuilder {
pub x: i32,
pub y: i32,
pub h: i32,
pub w: i32,
pub minw: i32,
pub maxw: i32,
pub minh: i32,
pub maxh: i32,
}Expand description
Modifiable struct that can be used to generate an Xyhw struct. Contains min/max width and height and window placement. x,y from top left.
Fields
x: i32y: i32h: i32w: i32minw: i32maxw: i32minh: i32maxh: i32Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for XyhwBuilder
impl Send for XyhwBuilder
impl Sync for XyhwBuilder
impl Unpin for XyhwBuilder
impl UnwindSafe for XyhwBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more