pub enum LabelAlign {
Left,
Center,
Right,
}Expand description
The alignment of a text label, as ECharts names it.
The option layer uses ECharts’ own vocabulary so that an existing configuration translates field by field; the paint layer uses the chart crate’s own enums.
Variants§
Left
The label starts at its anchor.
Center
The label is centred on its anchor.
Right
The label ends at its anchor.
Trait Implementations§
Source§impl Clone for LabelAlign
impl Clone for LabelAlign
impl Copy for LabelAlign
Source§impl Debug for LabelAlign
impl Debug for LabelAlign
Source§impl Default for LabelAlign
impl Default for LabelAlign
impl Eq for LabelAlign
Source§impl Hash for LabelAlign
impl Hash for LabelAlign
Source§impl PartialEq for LabelAlign
impl PartialEq for LabelAlign
impl StructuralPartialEq for LabelAlign
Auto Trait Implementations§
impl Freeze for LabelAlign
impl RefUnwindSafe for LabelAlign
impl Send for LabelAlign
impl Sync for LabelAlign
impl Unpin for LabelAlign
impl UnsafeUnpin for LabelAlign
impl UnwindSafe for LabelAlign
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