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: i32
§y: i32
§h: i32
§w: i32
§minw: i32
§maxw: i32
§minh: i32
§maxh: i32
Trait Implementations§
Source§impl Clone for XyhwBuilder
impl Clone for XyhwBuilder
Source§fn clone(&self) -> XyhwBuilder
fn clone(&self) -> XyhwBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for XyhwBuilder
impl Debug for XyhwBuilder
Source§impl Default for XyhwBuilder
impl Default for XyhwBuilder
Source§impl<'de> Deserialize<'de> for XyhwBuilder
impl<'de> Deserialize<'de> for XyhwBuilder
Source§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
Source§impl From<XyhwBuilder> for Xyhw
impl From<XyhwBuilder> for Xyhw
Source§fn from(xywh: XyhwBuilder) -> Self
fn from(xywh: XyhwBuilder) -> Self
Converts to this type from the input type.
Source§impl PartialEq for XyhwBuilder
impl PartialEq for XyhwBuilder
Source§impl Serialize for XyhwBuilder
impl Serialize for XyhwBuilder
impl Copy for XyhwBuilder
impl Eq for XyhwBuilder
impl StructuralPartialEq for XyhwBuilder
Auto Trait Implementations§
impl Freeze for XyhwBuilder
impl RefUnwindSafe for XyhwBuilder
impl Send for XyhwBuilder
impl Sync for XyhwBuilder
impl Unpin for XyhwBuilder
impl UnwindSafe for XyhwBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more