pub enum EuvPanelVariant {
Plain,
Bordered,
Dashed,
}Expand description
The border treatment of the euv_panel component.
The monochrome design system expresses separation with borders rather than shadows or background fills, so the variant only chooses the border style.
Variants§
Plain
No border, for panels already separated by surrounding whitespace.
Bordered
A solid 1px border, for a strongly grouped section.
Dashed
A dashed 1px border, for a loosely grouped section.
Trait Implementations§
Source§impl Clone for EuvPanelVariant
impl Clone for EuvPanelVariant
impl Copy for EuvPanelVariant
Source§impl Debug for EuvPanelVariant
impl Debug for EuvPanelVariant
Source§impl Default for EuvPanelVariant
impl Default for EuvPanelVariant
impl Eq for EuvPanelVariant
Source§impl Hash for EuvPanelVariant
impl Hash for EuvPanelVariant
Source§impl Ord for EuvPanelVariant
impl Ord for EuvPanelVariant
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 EuvPanelVariant
impl PartialEq for EuvPanelVariant
Source§impl PartialOrd for EuvPanelVariant
impl PartialOrd for EuvPanelVariant
impl StructuralPartialEq for EuvPanelVariant
Auto Trait Implementations§
impl Freeze for EuvPanelVariant
impl RefUnwindSafe for EuvPanelVariant
impl Send for EuvPanelVariant
impl Sync for EuvPanelVariant
impl Unpin for EuvPanelVariant
impl UnsafeUnpin for EuvPanelVariant
impl UnwindSafe for EuvPanelVariant
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