pub struct EuvStatProps {
pub label: &'static str,
pub value: &'static str,
pub hint: &'static str,
pub icon: &'static str,
}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: &'static strThe metric name rendered under the value in muted styling.
value: &'static strThe metric value rendered in the large accented style.
hint: &'static strThe optional secondary note under the label (skipped when empty).
icon: &'static strThe 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 Freeze 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