pub enum CardVariant {
Fill,
Outline,
Normal,
}Expand description
How a Card’s surface is drawn. Matches upstream GroupBoxVariant:
a card is either filled or outlined, never both.
Variants§
Fill
Filled muted_background surface with no border (default).
Outline
A border with a transparent fill.
Normal
Neither fill nor border — just padded content.
Trait Implementations§
Source§impl Clone for CardVariant
impl Clone for CardVariant
Source§fn clone(&self) -> CardVariant
fn clone(&self) -> CardVariant
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 moreSource§impl Debug for CardVariant
impl Debug for CardVariant
Source§impl Default for CardVariant
impl Default for CardVariant
Source§fn default() -> CardVariant
fn default() -> CardVariant
Returns the “default value” for a type. Read more
Source§impl PartialEq for CardVariant
impl PartialEq for CardVariant
Source§fn eq(&self, other: &CardVariant) -> bool
fn eq(&self, other: &CardVariant) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CardVariant
impl Eq for CardVariant
impl StructuralPartialEq for CardVariant
Auto Trait Implementations§
impl Freeze for CardVariant
impl RefUnwindSafe for CardVariant
impl Send for CardVariant
impl Sync for CardVariant
impl Unpin for CardVariant
impl UnsafeUnpin for CardVariant
impl UnwindSafe for CardVariant
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