Enum ariadne::LabelAttach
source · pub enum LabelAttach {
Start,
Middle,
End,
}
Expand description
The attachment point of inline label arrows
Variants§
Start
Arrows should attach to the start of the label span.
Middle
Arrows should attach to the middle of the label span (or as close to the middle as we can get).
End
Arrows should attach to the end of the label span.
Trait Implementations§
source§impl Clone for LabelAttach
impl Clone for LabelAttach
source§fn clone(&self) -> LabelAttach
fn clone(&self) -> LabelAttach
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 LabelAttach
impl Debug for LabelAttach
source§impl PartialEq<LabelAttach> for LabelAttach
impl PartialEq<LabelAttach> for LabelAttach
source§fn eq(&self, other: &LabelAttach) -> bool
fn eq(&self, other: &LabelAttach) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.