pub struct StringSurrogate(/* private fields */);Methods from Deref<Target = StrSurrogate>§
pub fn eq(&self, rhs: &StrSurrogate) -> BoolSurrogate
pub fn ne(&self, rhs: &StrSurrogate) -> BoolSurrogate
pub fn gt(&self, rhs: &StrSurrogate) -> BoolSurrogate
pub fn lt(&self, rhs: &StrSurrogate) -> BoolSurrogate
pub fn ge(&self, rhs: &StrSurrogate) -> BoolSurrogate
pub fn le(&self, rhs: &StrSurrogate) -> BoolSurrogate
pub fn to_owned(&self) -> StringSurrogate
pub fn is_empty(&self) -> BoolSurrogate
pub fn len(&self) -> F64Surrogate
pub fn trim(&self) -> &StrSurrogate
pub fn trim_start(&self) -> &StrSurrogate
pub fn trim_end(&self) -> &StrSurrogate
pub fn starts_with(&self, other: &StrSurrogate) -> BoolSurrogate
pub fn ends_with(&self, other: &StrSurrogate) -> BoolSurrogate
pub fn contains(&self, other: &StrSurrogate) -> BoolSurrogate
Trait Implementations§
Source§impl Clone for StringSurrogate
impl Clone for StringSurrogate
Source§fn clone(&self) -> StringSurrogate
fn clone(&self) -> StringSurrogate
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 StringSurrogate
impl Debug for StringSurrogate
Source§impl Deref for StringSurrogate
impl Deref for StringSurrogate
Source§type Target = StrSurrogate
type Target = StrSurrogate
The resulting type after dereferencing.
Source§fn deref(&self) -> &StrSurrogate
fn deref(&self) -> &StrSurrogate
Dereferences the value.
Source§impl<'de> Deserialize<'de> for StringSurrogate
impl<'de> Deserialize<'de> for StringSurrogate
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 StringSurrogate
impl Display for StringSurrogate
Source§impl RefCast for StringSurrogate
impl RefCast for StringSurrogate
Source§impl Serialize for StringSurrogate
impl Serialize for StringSurrogate
Source§impl Surrogate for StringSurrogate
impl Surrogate for StringSurrogate
Source§impl<'__lifetime> Surrogate for &'__lifetime StringSurrogate
impl<'__lifetime> Surrogate for &'__lifetime StringSurrogate
Auto Trait Implementations§
impl Freeze for StringSurrogate
impl RefUnwindSafe for StringSurrogate
impl Send for StringSurrogate
impl Sync for StringSurrogate
impl Unpin for StringSurrogate
impl UnsafeUnpin for StringSurrogate
impl UnwindSafe for StringSurrogate
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