Struct language2::markdown::ParsedMarkdown
source · pub struct ParsedMarkdown {
pub text: String,
pub highlights: Vec<(Range<usize>, MarkdownHighlight)>,
pub region_ranges: Vec<Range<usize>>,
pub regions: Vec<ParsedRegion>,
}
Fields§
§text: String
§highlights: Vec<(Range<usize>, MarkdownHighlight)>
§region_ranges: Vec<Range<usize>>
§regions: Vec<ParsedRegion>
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