pub struct MarkedText {
pub clean_text: String,
pub marks: Vec<TokenMark>,
}Fields§
§clean_text: String§marks: Vec<TokenMark>Trait Implementations§
Source§impl Clone for MarkedText
impl Clone for MarkedText
Source§fn clone(&self) -> MarkedText
fn clone(&self) -> MarkedText
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 MarkedText
impl Debug for MarkedText
impl Eq for MarkedText
Source§impl PartialEq for MarkedText
impl PartialEq for MarkedText
Source§fn eq(&self, other: &MarkedText) -> bool
fn eq(&self, other: &MarkedText) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MarkedText
Auto Trait Implementations§
impl Freeze for MarkedText
impl RefUnwindSafe for MarkedText
impl Send for MarkedText
impl Sync for MarkedText
impl Unpin for MarkedText
impl UnsafeUnpin for MarkedText
impl UnwindSafe for MarkedText
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