pub struct GaugeDetail { /* private fields */ }
Implementations§
Source§impl GaugeDetail
impl GaugeDetail
pub fn new() -> Self
pub fn show(self, show: bool) -> Self
pub fn color<C: Into<Color>>(self, color: C) -> Self
pub fn font_style<S: Into<String>>(self, font_style: S) -> Self
pub fn font_weight<S: Into<String>>(self, font_weight: S) -> Self
pub fn font_family<S: Into<String>>(self, font_family: S) -> Self
pub fn font_size<F: Into<i64>>(self, font_size: F) -> Self
pub fn precision<F: Into<i64>>(self, precision: F) -> Self
pub fn value_animation(self, value_animation: bool) -> Self
pub fn formatter<F: Into<Formatter>>(self, formatter: F) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GaugeDetail
impl RefUnwindSafe for GaugeDetail
impl Send for GaugeDetail
impl Sync for GaugeDetail
impl Unpin for GaugeDetail
impl UnwindSafe for GaugeDetail
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