Enum scsys_core::parse::StringFragment
source · Expand description
A string fragment contains a fragment of a string being parsed: either a non-empty Literal (a series of non-escaped characters), a single parsed escaped character, or a block of escaped whitespace.
Variants
Trait Implementations
sourceimpl<'a> Clone for StringFragment<'a>
impl<'a> Clone for StringFragment<'a>
sourcefn clone(&self) -> StringFragment<'a>
fn clone(&self) -> StringFragment<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<'a> Debug for StringFragment<'a>
impl<'a> Debug for StringFragment<'a>
sourceimpl<'a> PartialEq<StringFragment<'a>> for StringFragment<'a>
impl<'a> PartialEq<StringFragment<'a>> for StringFragment<'a>
sourcefn eq(&self, other: &StringFragment<'a>) -> bool
fn eq(&self, other: &StringFragment<'a>) -> bool
impl<'a> Copy for StringFragment<'a>
impl<'a> Eq for StringFragment<'a>
impl<'a> StructuralEq for StringFragment<'a>
impl<'a> StructuralPartialEq for StringFragment<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for StringFragment<'a>
impl<'a> Send for StringFragment<'a>
impl<'a> Sync for StringFragment<'a>
impl<'a> Unpin for StringFragment<'a>
impl<'a> UnwindSafe for StringFragment<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.