pub struct Gauge<'a> { /* private fields */ }
Expand description
The gauge of the Indicator plot.
Implementations§
Source§impl<'a> Gauge<'a>
impl<'a> Gauge<'a>
Sourcepub fn bordercolor(&mut self, bordercolor: &'a str) -> &mut Self
pub fn bordercolor(&mut self, bordercolor: &'a str) -> &mut Self
Sets the color of the border enclosing the gauge.
default: #444
Sourcepub fn borderwidth(&mut self, borderwidth: f64) -> &mut Self
pub fn borderwidth(&mut self, borderwidth: f64) -> &mut Self
Sets the width (in px) of the border enclosing the gauge.
default: 1
pub fn axis(&mut self) -> &mut Axis<'a>
pub fn threshold(&mut self) -> &mut Threshold<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Gauge<'a>
impl<'a> RefUnwindSafe for Gauge<'a>
impl<'a> Send for Gauge<'a>
impl<'a> Sync for Gauge<'a>
impl<'a> Unpin for Gauge<'a>
impl<'a> UnwindSafe for Gauge<'a>
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