Struct hayagriva::types::FoldableStringChunk
source · pub struct FoldableStringChunk {
pub value: String,
pub kind: FoldableKind,
}
Expand description
A chunk of a string.
Fields§
§value: String
The string value.
kind: FoldableKind
Whether the chunk is subject to case folding or contains math.
Trait Implementations§
source§impl Clone for FoldableStringChunk
impl Clone for FoldableStringChunk
source§fn clone(&self) -> FoldableStringChunk
fn clone(&self) -> FoldableStringChunk
Returns a copy of the value. Read more
1.0.0 · 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 FoldableStringChunk
impl Debug for FoldableStringChunk
source§impl From<FoldableStringChunk> for StringChunk
impl From<FoldableStringChunk> for StringChunk
source§fn from(value: FoldableStringChunk) -> Self
fn from(value: FoldableStringChunk) -> Self
Converts to this type from the input type.
source§impl Hash for FoldableStringChunk
impl Hash for FoldableStringChunk
source§impl PartialEq for FoldableStringChunk
impl PartialEq for FoldableStringChunk
source§fn eq(&self, other: &FoldableStringChunk) -> bool
fn eq(&self, other: &FoldableStringChunk) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<StringChunk> for FoldableStringChunk
impl TryFrom<StringChunk> for FoldableStringChunk
impl Eq for FoldableStringChunk
impl StructuralPartialEq for FoldableStringChunk
Auto Trait Implementations§
impl RefUnwindSafe for FoldableStringChunk
impl Send for FoldableStringChunk
impl Sync for FoldableStringChunk
impl Unpin for FoldableStringChunk
impl UnwindSafe for FoldableStringChunk
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.