pub struct ParsedTextLine {
pub text: String,
pub spans: Vec<ParsedTextSpan>,
}Fields§
§text: String§spans: Vec<ParsedTextSpan>Trait Implementations§
Source§impl Clone for ParsedTextLine
impl Clone for ParsedTextLine
Source§fn clone(&self) -> ParsedTextLine
fn clone(&self) -> ParsedTextLine
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 ParsedTextLine
impl Debug for ParsedTextLine
Source§impl Default for ParsedTextLine
impl Default for ParsedTextLine
Source§fn default() -> ParsedTextLine
fn default() -> ParsedTextLine
Returns the “default value” for a type. Read more
Source§impl PartialEq for ParsedTextLine
impl PartialEq for ParsedTextLine
Source§fn eq(&self, other: &ParsedTextLine) -> bool
fn eq(&self, other: &ParsedTextLine) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParsedTextLine
Auto Trait Implementations§
impl Freeze for ParsedTextLine
impl RefUnwindSafe for ParsedTextLine
impl Send for ParsedTextLine
impl Sync for ParsedTextLine
impl Unpin for ParsedTextLine
impl UnsafeUnpin for ParsedTextLine
impl UnwindSafe for ParsedTextLine
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