Struct annotate_snippets::display_list::Annotation
[−]
[src]
pub struct Annotation { pub annotation_type: DisplayAnnotationType, pub id: Option<String>, pub label: Vec<DisplayTextFragment>, }
Inline annotation which can be used in either Raw or Source line.
Fields
annotation_type: DisplayAnnotationType
id: Option<String>
label: Vec<DisplayTextFragment>
Trait Implementations
impl Debug for Annotation
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Annotation
[src]
fn clone(&self) -> Annotation
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Annotation
[src]
fn eq(&self, __arg_0: &Annotation) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Annotation) -> bool
[src]
This method tests for !=
.