pub struct ParsedSpan {
pub text: String,
pub bold: bool,
pub italic: bool,
pub underline: bool,
pub strikeout: bool,
pub code: bool,
pub link_href: Option<String>,
}Expand description
A parsed inline span with formatting info
Fields§
§text: String§bold: bool§italic: bool§underline: bool§strikeout: bool§code: bool§link_href: Option<String>Trait Implementations§
Source§impl Clone for ParsedSpan
impl Clone for ParsedSpan
Source§fn clone(&self) -> ParsedSpan
fn clone(&self) -> ParsedSpan
Returns a duplicate 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 ParsedSpan
impl Debug for ParsedSpan
Source§impl Default for ParsedSpan
impl Default for ParsedSpan
Source§fn default() -> ParsedSpan
fn default() -> ParsedSpan
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParsedSpan
impl RefUnwindSafe for ParsedSpan
impl Send for ParsedSpan
impl Sync for ParsedSpan
impl Unpin for ParsedSpan
impl UnsafeUnpin for ParsedSpan
impl UnwindSafe for ParsedSpan
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