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

A standalone, single-line annotation.

A continuation of a multi-line label of an annotation.

A consequitive annotation in case multiple annotations annotate a single line.

A line starting a multiline annotation.

A line ending a multiline annotation.

Trait Implementations

impl Debug for DisplayAnnotationPart
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for DisplayAnnotationPart
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for DisplayAnnotationPart
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

Auto Trait Implementations