pub struct MinimalString(/* private fields */);Expand description
An example of a minimal string implementaiton that can be wrapped inside an owned braid type.
Trait Implementations§
Source§impl AsRef<str> for MinimalString
impl AsRef<str> for MinimalString
Source§impl Clone for MinimalString
impl Clone for MinimalString
Source§fn clone(&self) -> MinimalString
fn clone(&self) -> MinimalString
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 MinimalString
impl Debug for MinimalString
Source§impl<'de> Deserialize<'de> for MinimalString
impl<'de> Deserialize<'de> for MinimalString
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<'ʄ> Facet<'ʄ> for MinimalString
impl<'ʄ> Facet<'ʄ> for MinimalString
Source§impl From<&str> for MinimalString
impl From<&str> for MinimalString
Source§impl From<MinimalString> for String
impl From<MinimalString> for String
Source§fn from(s: MinimalString) -> Self
fn from(s: MinimalString) -> Self
Converts to this type from the input type.
Source§impl From<String> for MinimalString
impl From<String> for MinimalString
Source§impl Hash for MinimalString
impl Hash for MinimalString
Source§impl Ord for MinimalString
impl Ord for MinimalString
Source§fn cmp(&self, other: &MinimalString) -> Ordering
fn cmp(&self, other: &MinimalString) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MinimalString
impl PartialEq for MinimalString
Source§impl PartialOrd for MinimalString
impl PartialOrd for MinimalString
Source§impl Serialize for MinimalString
impl Serialize for MinimalString
impl Eq for MinimalString
impl StructuralPartialEq for MinimalString
Auto Trait Implementations§
impl Freeze for MinimalString
impl RefUnwindSafe for MinimalString
impl Send for MinimalString
impl Sync for MinimalString
impl Unpin for MinimalString
impl UnwindSafe for MinimalString
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