Struct leftwm_core::config::ScratchPad
source · [−]pub struct ScratchPad {
pub name: String,
pub value: String,
pub x: Option<Size>,
pub y: Option<Size>,
pub height: Option<Size>,
pub width: Option<Size>,
}Fields
name: Stringvalue: Stringx: Option<Size>y: Option<Size>height: Option<Size>width: Option<Size>Trait Implementations
sourceimpl Clone for ScratchPad
impl Clone for ScratchPad
sourcefn clone(&self) -> ScratchPad
fn clone(&self) -> ScratchPad
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 ScratchPad
impl Debug for ScratchPad
sourceimpl<'de> Deserialize<'de> for ScratchPad
impl<'de> Deserialize<'de> for ScratchPad
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 PartialEq<ScratchPad> for ScratchPad
impl PartialEq<ScratchPad> for ScratchPad
sourcefn eq(&self, other: &ScratchPad) -> bool
fn eq(&self, other: &ScratchPad) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ScratchPad) -> bool
fn ne(&self, other: &ScratchPad) -> bool
This method tests for !=.
sourceimpl Serialize for ScratchPad
impl Serialize for ScratchPad
impl StructuralPartialEq for ScratchPad
Auto Trait Implementations
impl RefUnwindSafe for ScratchPad
impl Send for ScratchPad
impl Sync for ScratchPad
impl Unpin for ScratchPad
impl UnwindSafe for ScratchPad
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