Struct leftwm_core::models::ScratchPadName
source · pub struct ScratchPadName(_);Expand description
Newtype used as the name for a scratchpad, can be seen as some sort of symbol in languages like Lisp/Scheme/…
Trait Implementations§
source§impl Clone for ScratchPadName
impl Clone for ScratchPadName
source§fn clone(&self) -> ScratchPadName
fn clone(&self) -> ScratchPadName
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 ScratchPadName
impl Debug for ScratchPadName
source§impl<'de> Deserialize<'de> for ScratchPadName
impl<'de> Deserialize<'de> for ScratchPadName
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<&str> for ScratchPadName
impl From<&str> for ScratchPadName
source§impl From<ScratchPadName> for String
impl From<ScratchPadName> for String
source§fn from(other: ScratchPadName) -> Self
fn from(other: ScratchPadName) -> Self
Converts to this type from the input type.
source§impl From<String> for ScratchPadName
impl From<String> for ScratchPadName
source§impl Hash for ScratchPadName
impl Hash for ScratchPadName
source§impl PartialEq<&str> for ScratchPadName
impl PartialEq<&str> for ScratchPadName
source§impl PartialEq<ScratchPadName> for ScratchPadName
impl PartialEq<ScratchPadName> for ScratchPadName
source§fn eq(&self, other: &ScratchPadName) -> bool
fn eq(&self, other: &ScratchPadName) -> bool
This method tests for
self and other values to be equal, and is used
by ==.