Struct annotate_snippets::display_list::DisplayMark
source · pub struct DisplayMark {
pub mark_type: DisplayMarkType,
pub annotation_type: DisplayAnnotationType,
}
Expand description
A visual mark used in inline_marks
field of the DisplaySourceLine
.
Fields§
§mark_type: DisplayMarkType
§annotation_type: DisplayAnnotationType
Trait Implementations§
source§impl Clone for DisplayMark
impl Clone for DisplayMark
source§fn clone(&self) -> DisplayMark
fn clone(&self) -> DisplayMark
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 more