pub struct MarkdownSegment { /* private fields */ }Expand description
A styled segment inside a rendered markdown line.
Keep field-compatible with the TUI variant vtcode_ui::tui::ui::markdown::MarkdownSegment;
vtcode-core picks one of the two by feature and streams both through the same shapes.
Trait Implementations§
Source§impl Clone for MarkdownSegment
impl Clone for MarkdownSegment
Auto Trait Implementations§
impl Freeze for MarkdownSegment
impl RefUnwindSafe for MarkdownSegment
impl Send for MarkdownSegment
impl Sync for MarkdownSegment
impl Unpin for MarkdownSegment
impl UnsafeUnpin for MarkdownSegment
impl UnwindSafe for MarkdownSegment
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