Struct zed2::languages::ParsedMarkdown
source · pub struct ParsedMarkdown {
pub text: String,
pub highlights: Vec<(Range<usize>, MarkdownHighlight), Global>,
pub region_ranges: Vec<Range<usize>, Global>,
pub regions: Vec<ParsedRegion, Global>,
}
Fields§
§text: String
§highlights: Vec<(Range<usize>, MarkdownHighlight), Global>
§region_ranges: Vec<Range<usize>, Global>
§regions: Vec<ParsedRegion, Global>
Trait Implementations§
source§impl Clone for ParsedMarkdown
impl Clone for ParsedMarkdown
source§fn clone(&self) -> ParsedMarkdown
fn clone(&self) -> ParsedMarkdown
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for ParsedMarkdown
impl Send for ParsedMarkdown
impl Sync for ParsedMarkdown
impl Unpin for ParsedMarkdown
impl UnwindSafe for ParsedMarkdown
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