Struct kstring::KStringCow [−][src]
#[repr(transparent)]pub struct KStringCow<'s> { /* fields omitted */ }Expand description
A reference to a UTF-8 encoded, immutable string.
Implementations
Create an owned KStringCow.
Create an owned KStringCow.
Create a reference to a 'static data.
Get a reference to the KString.
Clone the data into an owned-type.
Convert to a mutable string type, cloning the data if necessary.
Convert to a mutable string type, cloning the data if necessary.
Convert to a Cow str
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl<'s> RefUnwindSafe for KStringCow<'s>
impl<'s> Send for KStringCow<'s>
impl<'s> Sync for KStringCow<'s>
impl<'s> Unpin for KStringCow<'s>
impl<'s> UnwindSafe for KStringCow<'s>
Blanket Implementations
Mutably borrows from an owned value. Read more