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