pub struct CasefoldString(/* private fields */);Implementations§
Methods from Deref<Target = CasefoldStr>§
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for CasefoldString
impl<'arbitrary> Arbitrary<'arbitrary> for CasefoldString
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured this type
needs to construct itself. Read moreSource§impl Borrow<CasefoldStr> for CasefoldString
impl Borrow<CasefoldStr> for CasefoldString
Source§fn borrow(&self) -> &CasefoldStr
fn borrow(&self) -> &CasefoldStr
Immutably borrows from an owned value. Read more
Source§impl Clone for CasefoldString
impl Clone for CasefoldString
Source§fn clone(&self) -> CasefoldString
fn clone(&self) -> CasefoldString
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CasefoldString
impl Debug for CasefoldString
Source§impl Deref for CasefoldString
impl Deref for CasefoldString
Source§type Target = CasefoldStr
type Target = CasefoldStr
The resulting type after dereferencing.
Source§fn deref(&self) -> &CasefoldStr
fn deref(&self) -> &CasefoldStr
Dereferences the value.
Source§impl<'de> Deserialize<'de> for CasefoldString
impl<'de> Deserialize<'de> for CasefoldString
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 Display for CasefoldString
impl Display for CasefoldString
Source§impl From<&str> for CasefoldString
impl From<&str> for CasefoldString
Source§impl Hash for CasefoldString
impl Hash for CasefoldString
Source§impl Ord for CasefoldString
impl Ord for CasefoldString
1.21.0 (const: unstable) · 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 CasefoldString
impl PartialEq for CasefoldString
Source§impl PartialOrd for CasefoldString
impl PartialOrd for CasefoldString
Source§impl Serialize for CasefoldString
impl Serialize for CasefoldString
Source§impl TypeFingerprint for CasefoldString
impl TypeFingerprint for CasefoldString
fn fingerprint() -> String
impl Eq for CasefoldString
Auto Trait Implementations§
impl Freeze for CasefoldString
impl RefUnwindSafe for CasefoldString
impl Send for CasefoldString
impl Sync for CasefoldString
impl Unpin for CasefoldString
impl UnsafeUnpin for CasefoldString
impl UnwindSafe for CasefoldString
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