pub enum RichItem {
Text(RichTextSpan),
Inline(InlineItem),
}Expand description
富文本 item:文本 span 或内联绘制项。
Variants§
Text(RichTextSpan)
Inline(InlineItem)
Trait Implementations§
impl StructuralPartialEq for RichItem
Auto Trait Implementations§
impl !RefUnwindSafe for RichItem
impl !Send for RichItem
impl !Sync for RichItem
impl !UnwindSafe for RichItem
impl Freeze for RichItem
impl Unpin for RichItem
impl UnsafeUnpin for RichItem
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