pub struct String<'input> {
pub string: &'input MStr,
}Fields§
§string: &'input MStrTrait Implementations§
impl<'input> Eq for String<'input>
Source§impl<'input> Ord for String<'input>
impl<'input> Ord for String<'input>
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<'input> PartialEq for String<'input>
impl<'input> PartialEq for String<'input>
Source§impl<'input> PartialOrd for String<'input>
impl<'input> PartialOrd for String<'input>
impl<'input> StructuralPartialEq for String<'input>
Auto Trait Implementations§
impl<'input> Freeze for String<'input>
impl<'input> RefUnwindSafe for String<'input>
impl<'input> Send for String<'input>
impl<'input> Sync for String<'input>
impl<'input> Unpin for String<'input>
impl<'input> UnsafeUnpin for String<'input>
impl<'input> UnwindSafe for String<'input>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.