pub enum ShadowToken {
Low,
Med,
High,
InsetHover,
InsetSelected,
InsetSuccess,
InsetWarning,
InsetError,
}Expand description
阴影 token。low / med / high 是两层外阴影,inset-* 是 2px 内描边环。
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ShadowToken
impl Clone for ShadowToken
impl Copy for ShadowToken
Source§impl Debug for ShadowToken
impl Debug for ShadowToken
impl Eq for ShadowToken
Source§impl Hash for ShadowToken
impl Hash for ShadowToken
Source§impl Ord for ShadowToken
impl Ord for ShadowToken
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 ShadowToken
impl PartialEq for ShadowToken
Source§impl PartialOrd for ShadowToken
impl PartialOrd for ShadowToken
impl StructuralPartialEq for ShadowToken
Auto Trait Implementations§
impl Forget for ShadowToken
impl Freeze for ShadowToken
impl Move for ShadowToken
impl RefUnwindSafe for ShadowToken
impl Send for ShadowToken
impl Sync for ShadowToken
impl Unpin for ShadowToken
impl UnsafeUnpin for ShadowToken
impl UnwindSafe for ShadowToken
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