Enum annotate_snippets::display_list::DisplayAnnotationPart
[−]
[src]
pub enum DisplayAnnotationPart {
Standalone,
LabelContinuation,
Consequitive,
MultilineStart,
MultilineEnd,
}An indicator of what part of the annotation a given Annotation is.
Variants
StandaloneA standalone, single-line annotation.
LabelContinuationA continuation of a multi-line label of an annotation.
ConsequitiveA consequitive annotation in case multiple annotations annotate a single line.
MultilineStartA line starting a multiline annotation.
MultilineEndA line ending a multiline annotation.
Trait Implementations
impl Debug for DisplayAnnotationPart[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Clone for DisplayAnnotationPart[src]
fn clone(&self) -> DisplayAnnotationPart[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