pub enum DisplayAnnotationPart {
Standalone,
LabelContinuation,
Consequitive,
MultilineStart,
MultilineEnd,
}
Expand description
An indicator of what part of the annotation a given Annotation
is.
Variants§
Standalone
A standalone, single-line annotation.
LabelContinuation
A continuation of a multi-line label of an annotation.
Consequitive
A consequitive annotation in case multiple annotations annotate a single line.
MultilineStart
A line starting a multiline annotation.
MultilineEnd
A line ending a multiline annotation.
Trait Implementations§
source§impl Clone for DisplayAnnotationPart
impl Clone for DisplayAnnotationPart
source§fn clone(&self) -> DisplayAnnotationPart
fn clone(&self) -> DisplayAnnotationPart
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 DisplayAnnotationPart
impl Debug for DisplayAnnotationPart
source§impl PartialEq for DisplayAnnotationPart
impl PartialEq for DisplayAnnotationPart
source§fn eq(&self, other: &DisplayAnnotationPart) -> bool
fn eq(&self, other: &DisplayAnnotationPart) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DisplayAnnotationPart
Auto Trait Implementations§
impl RefUnwindSafe for DisplayAnnotationPart
impl Send for DisplayAnnotationPart
impl Sync for DisplayAnnotationPart
impl Unpin for DisplayAnnotationPart
impl UnwindSafe for DisplayAnnotationPart
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