pub struct ScratchPadName(/* private fields */);
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 for ScratchPadName
impl PartialEq for ScratchPadName
Source§impl Serialize for ScratchPadName
impl Serialize for ScratchPadName
impl Eq for ScratchPadName
impl StructuralPartialEq for ScratchPadName
Auto Trait Implementations§
impl Freeze for ScratchPadName
impl RefUnwindSafe for ScratchPadName
impl Send for ScratchPadName
impl Sync for ScratchPadName
impl Unpin for ScratchPadName
impl UnwindSafe for ScratchPadName
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