pub enum SeriesLabelPosition {
UpperLeft,
MiddleLeft,
LowerLeft,
UpperMiddle,
MiddleMiddle,
LowerMiddle,
UpperRight,
MiddleRight,
LowerRight,
Coordinate(i32, i32),
}
Expand description
Useful to specify the position of the series label.
See ChartContext::configure_series_labels()
for more information and examples.
Variants§
UpperLeft
Places the series label at the upper left
MiddleLeft
Places the series label at the middle left
LowerLeft
Places the series label at the lower left
UpperMiddle
Places the series label at the upper middle
MiddleMiddle
Places the series label at the middle middle
LowerMiddle
Places the series label at the lower middle
UpperRight
Places the series label at the upper right
MiddleRight
Places the series label at the middle right
LowerRight
Places the series label at the lower right
Coordinate(i32, i32)
Places the series label at the specific location in backend coordinates
Trait Implementations§
Source§impl Clone for SeriesLabelPosition
impl Clone for SeriesLabelPosition
Source§fn clone(&self) -> SeriesLabelPosition
fn clone(&self) -> SeriesLabelPosition
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for SeriesLabelPosition
impl Debug for SeriesLabelPosition
Source§impl PartialEq for SeriesLabelPosition
impl PartialEq for SeriesLabelPosition
impl StructuralPartialEq for SeriesLabelPosition
Auto Trait Implementations§
impl Freeze for SeriesLabelPosition
impl RefUnwindSafe for SeriesLabelPosition
impl Send for SeriesLabelPosition
impl Sync for SeriesLabelPosition
impl Unpin for SeriesLabelPosition
impl UnwindSafe for SeriesLabelPosition
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 12 bytes
Size for each variant:
UpperLeft
: 0 bytesMiddleLeft
: 0 bytesLowerLeft
: 0 bytesUpperMiddle
: 0 bytesMiddleMiddle
: 0 bytesLowerMiddle
: 0 bytesUpperRight
: 0 bytesMiddleRight
: 0 bytesLowerRight
: 0 bytesCoordinate
: 8 bytes