pub enum LogoButtonVariant {
Nav,
Fab,
}Expand description
Display variant for the euv_logo component.
Controls the size and positioning of the logo button:
Nav- Inline 32×32 button for the navigation sidebar.Fab- Fixed-position 48×48 button for the floating action button.
Variants§
Trait Implementations§
Source§impl Clone for LogoButtonVariant
impl Clone for LogoButtonVariant
Source§fn clone(&self) -> LogoButtonVariant
fn clone(&self) -> LogoButtonVariant
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LogoButtonVariant
Source§impl Debug for LogoButtonVariant
impl Debug for LogoButtonVariant
Source§impl Default for LogoButtonVariant
impl Default for LogoButtonVariant
Source§fn default() -> LogoButtonVariant
fn default() -> LogoButtonVariant
Returns the “default value” for a type. Read more
impl Eq for LogoButtonVariant
Source§impl Hash for LogoButtonVariant
impl Hash for LogoButtonVariant
Source§impl Ord for LogoButtonVariant
impl Ord for LogoButtonVariant
Source§fn cmp(&self, other: &LogoButtonVariant) -> Ordering
fn cmp(&self, other: &LogoButtonVariant) -> Ordering
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
Source§impl PartialEq for LogoButtonVariant
impl PartialEq for LogoButtonVariant
Source§fn eq(&self, other: &LogoButtonVariant) -> bool
fn eq(&self, other: &LogoButtonVariant) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for LogoButtonVariant
impl PartialOrd for LogoButtonVariant
impl StructuralPartialEq for LogoButtonVariant
Auto Trait Implementations§
impl Freeze for LogoButtonVariant
impl RefUnwindSafe for LogoButtonVariant
impl Send for LogoButtonVariant
impl Sync for LogoButtonVariant
impl Unpin for LogoButtonVariant
impl UnsafeUnpin for LogoButtonVariant
impl UnwindSafe for LogoButtonVariant
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