pub enum LabelAnchor {
Centre,
Left,
Right,
Above,
}Expand description
Placement of a label relative to its projected anchor.
Variants§
Centre
Box centred on the anchor.
Left
Box starts at the anchor.
Right
Box ends at the anchor.
Above
Box sits above the anchor with a short gap.
Trait Implementations§
Source§impl Clone for LabelAnchor
impl Clone for LabelAnchor
impl Copy for LabelAnchor
Source§impl Debug for LabelAnchor
impl Debug for LabelAnchor
impl Eq for LabelAnchor
Source§impl PartialEq for LabelAnchor
impl PartialEq for LabelAnchor
impl StructuralPartialEq for LabelAnchor
Auto Trait Implementations§
impl Forget for LabelAnchor
impl Freeze for LabelAnchor
impl Move for LabelAnchor
impl RefUnwindSafe for LabelAnchor
impl Send for LabelAnchor
impl Sync for LabelAnchor
impl Unpin for LabelAnchor
impl UnsafeUnpin for LabelAnchor
impl UnwindSafe for LabelAnchor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.