pub enum RichTextInline {
Run(RichTextRun),
Hyperlink(RichTextHyperlink),
LineBreak,
}Expand description
An inline run, hyperlink, or line break in rich text.
Variants§
Trait Implementations§
Source§impl Clone for RichTextInline
impl Clone for RichTextInline
Source§fn clone(&self) -> RichTextInline
fn clone(&self) -> RichTextInline
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 RichTextInline
impl Debug for RichTextInline
impl Eq for RichTextInline
Source§impl PartialEq for RichTextInline
impl PartialEq for RichTextInline
impl StructuralPartialEq for RichTextInline
Auto Trait Implementations§
impl Freeze for RichTextInline
impl RefUnwindSafe for RichTextInline
impl Send for RichTextInline
impl Sync for RichTextInline
impl Unpin for RichTextInline
impl UnsafeUnpin for RichTextInline
impl UnwindSafe for RichTextInline
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