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 moresource§impl Debug for DisplayMark
impl Debug for DisplayMark
source§impl PartialEq for DisplayMark
impl PartialEq for DisplayMark
source§fn eq(&self, other: &DisplayMark) -> bool
fn eq(&self, other: &DisplayMark) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DisplayMark
Auto Trait Implementations§
impl RefUnwindSafe for DisplayMark
impl Send for DisplayMark
impl Sync for DisplayMark
impl Unpin for DisplayMark
impl UnwindSafe for DisplayMark
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