Struct annotate_snippets::display_list::Annotation
source · pub struct Annotation {
pub annotation_type: DisplayAnnotationType,
pub id: Option<String>,
pub label: Vec<DisplayTextFragment>,
}
Expand description
Inline annotation which can be used in either Raw or Source line.
Fields§
§annotation_type: DisplayAnnotationType
§id: Option<String>
§label: Vec<DisplayTextFragment>
Trait Implementations§
source§impl Clone for Annotation
impl Clone for Annotation
source§fn clone(&self) -> Annotation
fn clone(&self) -> Annotation
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