Struct editor2::display_map::HighlightedChunk
source · pub struct HighlightedChunk<'a> {
pub chunk: &'a str,
pub style: Option<HighlightStyle>,
pub is_tab: bool,
}
Fields§
§chunk: &'a str
§style: Option<HighlightStyle>
§is_tab: bool
Auto Trait Implementations§
impl<'a> RefUnwindSafe for HighlightedChunk<'a>
impl<'a> Send for HighlightedChunk<'a>
impl<'a> Sync for HighlightedChunk<'a>
impl<'a> Unpin for HighlightedChunk<'a>
impl<'a> UnwindSafe for HighlightedChunk<'a>
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