Enum i3status_rs::formatting::value::ValueInner
source · pub enum ValueInner {
Text(String),
Icon(Cow<'static, str>, Option<f64>),
Number {
val: f64,
unit: Unit,
},
Datetime(DateTime<Utc>, Option<Tz>),
Flag,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ValueInner
impl Clone for ValueInner
source§fn clone(&self) -> ValueInner
fn clone(&self) -> ValueInner
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ValueInner
impl RefUnwindSafe for ValueInner
impl Send for ValueInner
impl Sync for ValueInner
impl Unpin for ValueInner
impl UnwindSafe for ValueInner
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