pub struct WordFromBytes(pub String);Tuple Fields§
§0: StringUse String here because it is read from dumped user.history so it must be valid UTF-8.
Trait Implementations§
Source§impl Clone for WordFromBytes
impl Clone for WordFromBytes
Source§fn clone(&self) -> WordFromBytes
fn clone(&self) -> WordFromBytes
Returns a duplicate 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 WordFromBytes
impl Debug for WordFromBytes
Source§impl Default for WordFromBytes
impl Default for WordFromBytes
Source§fn default() -> WordFromBytes
fn default() -> WordFromBytes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WordFromBytes
impl<'de> Deserialize<'de> for WordFromBytes
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<WordFromBytes> for Word
impl From<WordFromBytes> for Word
Source§fn from(wfb: WordFromBytes) -> Self
fn from(wfb: WordFromBytes) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WordFromBytes
impl PartialEq for WordFromBytes
Source§impl PartialOrd for WordFromBytes
impl PartialOrd for WordFromBytes
impl StructuralPartialEq for WordFromBytes
Auto Trait Implementations§
impl Freeze for WordFromBytes
impl RefUnwindSafe for WordFromBytes
impl Send for WordFromBytes
impl Sync for WordFromBytes
impl Unpin for WordFromBytes
impl UnwindSafe for WordFromBytes
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