Struct leftwm_core::models::XyhwChange
source · [−]pub struct XyhwChange {
pub x: Option<i32>,
pub y: Option<i32>,
pub h: Option<i32>,
pub w: Option<i32>,
pub minw: Option<i32>,
pub maxw: Option<i32>,
pub minh: Option<i32>,
pub maxh: Option<i32>,
}Fields
x: Option<i32>y: Option<i32>h: Option<i32>w: Option<i32>minw: Option<i32>maxw: Option<i32>minh: Option<i32>maxh: Option<i32>Implementations
sourceimpl XyhwChange
impl XyhwChange
Trait Implementations
sourceimpl Clone for XyhwChange
impl Clone for XyhwChange
sourcefn clone(&self) -> XyhwChange
fn clone(&self) -> XyhwChange
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for XyhwChange
impl Debug for XyhwChange
sourceimpl Default for XyhwChange
impl Default for XyhwChange
sourcefn default() -> XyhwChange
fn default() -> XyhwChange
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for XyhwChange
impl<'de> Deserialize<'de> for XyhwChange
sourcefn 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
sourceimpl From<Xyhw> for XyhwChange
impl From<Xyhw> for XyhwChange
sourceimpl PartialEq<XyhwChange> for XyhwChange
impl PartialEq<XyhwChange> for XyhwChange
sourcefn eq(&self, other: &XyhwChange) -> bool
fn eq(&self, other: &XyhwChange) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &XyhwChange) -> bool
fn ne(&self, other: &XyhwChange) -> bool
This method tests for !=.
sourceimpl Serialize for XyhwChange
impl Serialize for XyhwChange
impl Copy for XyhwChange
impl StructuralPartialEq for XyhwChange
Auto Trait Implementations
impl RefUnwindSafe for XyhwChange
impl Send for XyhwChange
impl Sync for XyhwChange
impl Unpin for XyhwChange
impl UnwindSafe for XyhwChange
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more