pub struct EuvStatProps {
pub label: CowText,
pub value: CowText,
pub hint: CowText,
pub icon: CowText,
}Expand description
Props for the euv_stat component.
Defines the strongly-typed interface for a single metric tile: an optional leading icon, the accented value, a muted label, and an optional hint line underneath.
Fields§
§label: CowTextThe metric name rendered under the value in muted styling.
value: CowTextThe metric value rendered in the large accented style.
hint: CowTextThe optional secondary note under the label (skipped when empty).
icon: CowTextThe optional leading glyph or icon (skipped when empty).
Trait Implementations§
Source§impl Clone for EuvStatProps
impl Clone for EuvStatProps
Source§impl Debug for EuvStatProps
impl Debug for EuvStatProps
Auto Trait Implementations§
impl Forget for EuvStatProps
impl Freeze for EuvStatProps
impl Move for EuvStatProps
impl RefUnwindSafe for EuvStatProps
impl Send for EuvStatProps
impl Sync for EuvStatProps
impl Unpin for EuvStatProps
impl UnsafeUnpin for EuvStatProps
impl UnwindSafe for EuvStatProps
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