pub enum EuvIconSize {
Xs,
Sm,
Md,
Lg,
Xl,
}Expand description
The size scale of the euv_icon component.
The steps match the shared monochrome type scale: an icon is a glyph, so it never carries colour — only the foreground token, inherited by the class.
Variants§
Xs
A 12px glyph for inline hints and metadata rows.
Sm
A 16px glyph for dense rows and button-adjacent marks.
Md
A 20px glyph, the default size for inline body content.
Lg
A 24px glyph for section headers and empty-state marks.
Xl
A 32px glyph for hero and page-header glyphs.
Implementations§
Trait Implementations§
Source§impl Clone for EuvIconSize
impl Clone for EuvIconSize
impl Copy for EuvIconSize
Source§impl Debug for EuvIconSize
impl Debug for EuvIconSize
Source§impl Default for EuvIconSize
impl Default for EuvIconSize
impl Eq for EuvIconSize
Source§impl Hash for EuvIconSize
impl Hash for EuvIconSize
Source§impl Ord for EuvIconSize
impl Ord for EuvIconSize
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for EuvIconSize
impl PartialEq for EuvIconSize
Source§impl PartialOrd for EuvIconSize
impl PartialOrd for EuvIconSize
impl StructuralPartialEq for EuvIconSize
Auto Trait Implementations§
impl Freeze for EuvIconSize
impl RefUnwindSafe for EuvIconSize
impl Send for EuvIconSize
impl Sync for EuvIconSize
impl Unpin for EuvIconSize
impl UnsafeUnpin for EuvIconSize
impl UnwindSafe for EuvIconSize
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