pub enum EuvRatingSize {
Sm,
Md,
Lg,
}Expand description
The star glyph size of the euv_rating component.
The steps follow the shared monochrome type scale, one step below the
euv_icon Xl glyph so a five-star row stays compact.
Variants§
Sm
A 14px star for dense table cells.
Md
An 18px star, the default size for list rows.
Lg
A 24px star for standalone ratings.
Implementations§
Trait Implementations§
Source§impl Clone for EuvRatingSize
impl Clone for EuvRatingSize
impl Copy for EuvRatingSize
Source§impl Debug for EuvRatingSize
impl Debug for EuvRatingSize
Source§impl Default for EuvRatingSize
impl Default for EuvRatingSize
impl Eq for EuvRatingSize
Source§impl Hash for EuvRatingSize
impl Hash for EuvRatingSize
Source§impl Ord for EuvRatingSize
impl Ord for EuvRatingSize
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 EuvRatingSize
impl PartialEq for EuvRatingSize
Source§impl PartialOrd for EuvRatingSize
impl PartialOrd for EuvRatingSize
impl StructuralPartialEq for EuvRatingSize
Auto Trait Implementations§
impl Freeze for EuvRatingSize
impl RefUnwindSafe for EuvRatingSize
impl Send for EuvRatingSize
impl Sync for EuvRatingSize
impl Unpin for EuvRatingSize
impl UnsafeUnpin for EuvRatingSize
impl UnwindSafe for EuvRatingSize
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