pub enum CompatAuto {
Searchfield(Ident),
Textarea(Ident),
Checkbox(Ident),
Radio(Ident),
Menulist(Ident),
Listbox(Ident),
Meter(Ident),
ProgressBar(Ident),
Button(Ident),
}Expand description
https://drafts.csswg.org/css-ui-4/#typedef-appearance-compat-auto
These values exist for compatibility of content developed for earlier non-standard versions of this property. They all have the same effect as auto.
<compat-auto> = searchfield | textarea | checkbox | radio | menulist | listbox | meter | progress-bar | buttonVariants§
Searchfield(Ident)
Textarea(Ident)
Checkbox(Ident)
Radio(Ident)
Menulist(Ident)
Listbox(Ident)
Meter(Ident)
ProgressBar(Ident)
Button(Ident)
Trait Implementations§
Source§impl Clone for CompatAuto
impl Clone for CompatAuto
Source§fn clone(&self) -> CompatAuto
fn clone(&self) -> CompatAuto
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 CompatAuto
impl Debug for CompatAuto
Source§impl Hash for CompatAuto
impl Hash for CompatAuto
Source§impl NodeWithMetadata<CssMetadata> for CompatAuto
impl NodeWithMetadata<CssMetadata> for CompatAuto
Source§fn self_metadata(&self) -> CssMetadata
fn self_metadata(&self) -> CssMetadata
Returns the metadata contributed by this node itself, not including children.
Most nodes don’t contribute metadata, so can simply return
M::default().
Nodes like StyleRule or AtRules should return their own node kind flags here.Source§fn metadata(&self) -> CssMetadata
fn metadata(&self) -> CssMetadata
Returns the complete aggregated metadata for this node (self + children).
Default implementation merges children’s metadata with self_metadata().
Source§impl Ord for CompatAuto
impl Ord for CompatAuto
Source§fn cmp(&self, other: &CompatAuto) -> Ordering
fn cmp(&self, other: &CompatAuto) -> 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 CompatAuto
impl<'a> Parse<'a> for CompatAuto
Source§impl PartialEq for CompatAuto
impl PartialEq for CompatAuto
Source§impl PartialOrd for CompatAuto
impl PartialOrd for CompatAuto
Source§impl<'a> Peek<'a> for CompatAuto
impl<'a> Peek<'a> for CompatAuto
Source§impl SemanticEq for CompatAuto
impl SemanticEq for CompatAuto
Source§fn semantic_eq(&self, other: &Self) -> bool
fn semantic_eq(&self, other: &Self) -> bool
Returns
true if self and other are semantically equal.Source§impl ToCursors for CompatAuto
impl ToCursors for CompatAuto
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for CompatAuto
impl Eq for CompatAuto
impl StructuralPartialEq for CompatAuto
Auto Trait Implementations§
impl Freeze for CompatAuto
impl RefUnwindSafe for CompatAuto
impl Send for CompatAuto
impl Sync for CompatAuto
impl Unpin for CompatAuto
impl UnwindSafe for CompatAuto
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