pub struct Gauge { /* private fields */ }
Implementations§
Source§impl Gauge
impl Gauge
pub fn new() -> Self
pub fn id<S: Into<String>>(self, id: S) -> Self
pub fn name<S: Into<String>>(self, name: S) -> Self
pub fn color_by<C: Into<ColorBy>>(self, color_by: C) -> Self
pub fn zlevel<F: Into<i64>>(self, zlevel: F) -> Self
pub fn z<F: Into<i64>>(self, z: F) -> Self
pub fn center<S: Into<String>>(self, center: (S, S)) -> Self
pub fn legend_hover_link(self, legend_hover_link: bool) -> Self
pub fn start_angle<F: Into<i64>>(self, start_angle: F) -> Self
pub fn end_angle<F: Into<i64>>(self, end_angle: F) -> Self
pub fn clockwise(self, clockwise: bool) -> Self
pub fn min<F: Into<i64>>(self, min: F) -> Self
pub fn max<F: Into<i64>>(self, max: F) -> Self
pub fn split_number<F: Into<i64>>(self, split_number: F) -> Self
pub fn radius<S: Into<String>>(self, radius: S) -> Self
pub fn progress<P: Into<GaugeProgress>>(self, progress: P) -> Self
pub fn axis_line<L: Into<AxisLine>>(self, axis_line: L) -> Self
pub fn axis_tick<T: Into<AxisTick>>(self, axis_tick: T) -> Self
pub fn axis_label<L: Into<AxisLabel>>(self, axis_label: L) -> Self
pub fn split_line<L: Into<SplitLine>>(self, split_line: L) -> Self
pub fn pointer<P: Into<Pointer>>(self, pointer: P) -> Self
pub fn anchor<A: Into<Anchor>>(self, anchor: A) -> Self
pub fn detail<D: Into<GaugeDetail>>(self, detail: D) -> Self
pub fn title<T: Into<GaugeTitle>>(self, title: T) -> Self
pub fn data<D: Into<DataPoint>>(self, data: Vec<D>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Gauge
impl RefUnwindSafe for Gauge
impl Send for Gauge
impl Sync for Gauge
impl Unpin for Gauge
impl UnwindSafe for Gauge
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more