pub enum AppearanceStyleValue {
None(Ident),
Auto(Ident),
Base(Ident),
BaseSelect(Ident),
CompatAuto(CompatAuto),
CompatSpecial(CompatSpecial),
}Expand description
Represents the style value for appearance as defined in css-ui-4.
The appearance CSS property controls the appearance of form controls. Using appearance: none disables any default native appearance and allows the elements to be styled with CSS.
The grammar is defined as:
none | auto | base | base-select | <compat-auto> | <compat-special>Variants§
None(Ident)
Auto(Ident)
Base(Ident)
BaseSelect(Ident)
CompatAuto(CompatAuto)
CompatSpecial(CompatSpecial)
Trait Implementations§
Source§impl Clone for AppearanceStyleValue
impl Clone for AppearanceStyleValue
Source§fn clone(&self) -> AppearanceStyleValue
fn clone(&self) -> AppearanceStyleValue
Returns a duplicate of the value. Read more
1.0.0 · 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 AppearanceStyleValue
impl Debug for AppearanceStyleValue
Source§impl Hash for AppearanceStyleValue
impl Hash for AppearanceStyleValue
Source§impl Ord for AppearanceStyleValue
impl Ord for AppearanceStyleValue
Source§fn cmp(&self, other: &AppearanceStyleValue) -> Ordering
fn cmp(&self, other: &AppearanceStyleValue) -> Ordering
1.21.0 · 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<'a> Parse<'a> for AppearanceStyleValue
impl<'a> Parse<'a> for AppearanceStyleValue
Source§impl PartialEq for AppearanceStyleValue
impl PartialEq for AppearanceStyleValue
Source§impl PartialOrd for AppearanceStyleValue
impl PartialOrd for AppearanceStyleValue
Source§impl<'a> Peek<'a> for AppearanceStyleValue
impl<'a> Peek<'a> for AppearanceStyleValue
Source§impl ToCursors for AppearanceStyleValue
impl ToCursors for AppearanceStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for AppearanceStyleValue
impl StructuralPartialEq for AppearanceStyleValue
Auto Trait Implementations§
impl Freeze for AppearanceStyleValue
impl RefUnwindSafe for AppearanceStyleValue
impl Send for AppearanceStyleValue
impl Sync for AppearanceStyleValue
impl Unpin for AppearanceStyleValue
impl UnwindSafe for AppearanceStyleValue
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