pub struct QuotedString(pub String);Expand description
The decoded contents of a quoted SST string literal.
Tuple Fields§
§0: StringImplementations§
Source§impl QuotedString
impl QuotedString
Trait Implementations§
Source§impl AsRef<str> for QuotedString
impl AsRef<str> for QuotedString
Source§impl Borrow<str> for QuotedString
impl Borrow<str> for QuotedString
Source§impl Clone for QuotedString
impl Clone for QuotedString
Source§fn clone(&self) -> QuotedString
fn clone(&self) -> QuotedString
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 QuotedString
impl Debug for QuotedString
Source§impl Display for QuotedString
impl Display for QuotedString
Source§impl From<QuotedString> for String
impl From<QuotedString> for String
Source§fn from(value: QuotedString) -> Self
fn from(value: QuotedString) -> Self
Converts to this type from the input type.
Source§impl Hash for QuotedString
impl Hash for QuotedString
Source§impl Ord for QuotedString
impl Ord for QuotedString
Source§fn cmp(&self, other: &QuotedString) -> Ordering
fn cmp(&self, other: &QuotedString) -> Ordering
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<'src> Parse<'src> for QuotedString
impl<'src> Parse<'src> for QuotedString
Source§impl PartialEq for QuotedString
impl PartialEq for QuotedString
Source§fn eq(&self, other: &QuotedString) -> bool
fn eq(&self, other: &QuotedString) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for QuotedString
impl PartialOrd for QuotedString
impl Eq for QuotedString
impl StructuralPartialEq for QuotedString
Auto Trait Implementations§
impl Freeze for QuotedString
impl RefUnwindSafe for QuotedString
impl Send for QuotedString
impl Sync for QuotedString
impl Unpin for QuotedString
impl UnsafeUnpin for QuotedString
impl UnwindSafe for QuotedString
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<'src, T> IntoMaybe<'src, T> for Twhere
T: 'src,
impl<'src, T> IntoMaybe<'src, T> for Twhere
T: 'src,
§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
§type Iter<'a> = Once<&'a T>
where
T: 'a
type Iter<'a> = Once<&'a T> where T: 'a
An iterator over the items within this container, by reference.
§fn contains(&self, val: &T) -> boolwhere
T: PartialEq,
fn contains(&self, val: &T) -> boolwhere
T: PartialEq,
Check whether an item is contained within this sequence.
§fn to_maybe_ref<'b>(item: <T as Seq<'p, T>>::Item<'b>) -> Maybe<T, &'p T>where
'p: 'b,
fn to_maybe_ref<'b>(item: <T as Seq<'p, T>>::Item<'b>) -> Maybe<T, &'p T>where
'p: 'b,
Convert an item of the sequence into a [
MaybeRef].