pub enum EuvAvatarSize {
Small,
Medium,
Large,
}Expand description
The square edge length of the euv_avatar component.
The sizes mirror the c_euv_logo_nav (32px) square convention used by the
brand logo: Small for dense list rows, Medium as the default inline
size, and Large for profile headers.
Variants§
Small
A 24×24 avatar for dense rows such as comment lists.
Medium
A 32×32 avatar, the default size matching the navigation logo square.
Large
A 40×40 avatar for profile headers and user cards.
Implementations§
Trait Implementations§
Source§impl Clone for EuvAvatarSize
impl Clone for EuvAvatarSize
impl Copy for EuvAvatarSize
Source§impl Debug for EuvAvatarSize
impl Debug for EuvAvatarSize
Source§impl Default for EuvAvatarSize
impl Default for EuvAvatarSize
impl Eq for EuvAvatarSize
Source§impl Hash for EuvAvatarSize
impl Hash for EuvAvatarSize
Source§impl Ord for EuvAvatarSize
impl Ord for EuvAvatarSize
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 EuvAvatarSize
impl PartialEq for EuvAvatarSize
Source§impl PartialOrd for EuvAvatarSize
impl PartialOrd for EuvAvatarSize
impl StructuralPartialEq for EuvAvatarSize
Auto Trait Implementations§
impl Freeze for EuvAvatarSize
impl RefUnwindSafe for EuvAvatarSize
impl Send for EuvAvatarSize
impl Sync for EuvAvatarSize
impl Unpin for EuvAvatarSize
impl UnsafeUnpin for EuvAvatarSize
impl UnwindSafe for EuvAvatarSize
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