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 for LabelAttach
impl PartialEq 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 ==
.impl Copy for LabelAttach
impl Eq for LabelAttach
impl StructuralPartialEq for LabelAttach
Auto Trait Implementations§
impl RefUnwindSafe for LabelAttach
impl Send for LabelAttach
impl Sync for LabelAttach
impl Unpin for LabelAttach
impl UnwindSafe for LabelAttach
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