Struct leftwm_core::models::Gutter
source · pub struct Gutter {
pub side: Side,
pub value: i32,
pub id: Option<usize>,
}
Fields§
§side: Side
§value: i32
§id: Option<usize>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Gutter
impl<'de> Deserialize<'de> for Gutter
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 Ord for Gutter
impl Ord for Gutter
source§impl PartialEq<Gutter> for Gutter
impl PartialEq<Gutter> for Gutter
source§impl PartialOrd<Gutter> for Gutter
impl PartialOrd<Gutter> for Gutter
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Gutter
impl StructuralEq for Gutter
impl StructuralPartialEq for Gutter
Auto Trait Implementations§
impl RefUnwindSafe for Gutter
impl Send for Gutter
impl Sync for Gutter
impl Unpin for Gutter
impl UnwindSafe for Gutter
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