pub enum CompatSpecial {
Textfield(Ident),
MenulistButton(Ident),
}Expand description
https://drafts.csswg.org/css-ui-4/#typedef-appearance-compat-special
These values exist for compatibility of content developed for earlier non-standard versions of this property. For the purpose of this specification, they all have the same effect as auto. However, the host language may also take these values into account when defining the native appearance of the element.
<compat-special> = textfield | menulist-buttonVariants§
Trait Implementations§
Source§impl Clone for CompatSpecial
impl Clone for CompatSpecial
Source§fn clone(&self) -> CompatSpecial
fn clone(&self) -> CompatSpecial
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 CompatSpecial
impl Debug for CompatSpecial
Source§impl Hash for CompatSpecial
impl Hash for CompatSpecial
Source§impl Ord for CompatSpecial
impl Ord for CompatSpecial
Source§fn cmp(&self, other: &CompatSpecial) -> Ordering
fn cmp(&self, other: &CompatSpecial) -> 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 CompatSpecial
impl<'a> Parse<'a> for CompatSpecial
Source§impl PartialEq for CompatSpecial
impl PartialEq for CompatSpecial
Source§impl PartialOrd for CompatSpecial
impl PartialOrd for CompatSpecial
Source§impl<'a> Peek<'a> for CompatSpecial
impl<'a> Peek<'a> for CompatSpecial
Source§impl ToCursors for CompatSpecial
impl ToCursors for CompatSpecial
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for CompatSpecial
impl Eq for CompatSpecial
impl StructuralPartialEq for CompatSpecial
Auto Trait Implementations§
impl Freeze for CompatSpecial
impl RefUnwindSafe for CompatSpecial
impl Send for CompatSpecial
impl Sync for CompatSpecial
impl Unpin for CompatSpecial
impl UnwindSafe for CompatSpecial
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