pub struct CodeHighlight {
pub lines: Vec<StyledLine>,
}Expand description
Syntax-highlighted code rendered to styled lines.
Fields§
§lines: Vec<StyledLine>Implementations§
Source§impl CodeHighlight
impl CodeHighlight
Auto Trait Implementations§
impl Freeze for CodeHighlight
impl RefUnwindSafe for CodeHighlight
impl Send for CodeHighlight
impl Sync for CodeHighlight
impl Unpin for CodeHighlight
impl UnsafeUnpin for CodeHighlight
impl UnwindSafe for CodeHighlight
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