pub enum InteractivityStyleValue {
Auto(Ident),
Inert(Ident),
}Expand description
Represents the style value for interactivity as defined in css-ui-4.
The interactivity: inert CSS declaration makes an element and its descendants inert, like when using the inert HTML attribute. Inert elements can’t be focused or clicked, their text can’t be selected or found using the browser’s find-in-page feature.
The grammar is defined as:
auto | inertVariants§
Trait Implementations§
Source§impl Clone for InteractivityStyleValue
impl Clone for InteractivityStyleValue
Source§fn clone(&self) -> InteractivityStyleValue
fn clone(&self) -> InteractivityStyleValue
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 InteractivityStyleValue
impl Debug for InteractivityStyleValue
Source§impl Hash for InteractivityStyleValue
impl Hash for InteractivityStyleValue
Source§impl Ord for InteractivityStyleValue
impl Ord for InteractivityStyleValue
Source§fn cmp(&self, other: &InteractivityStyleValue) -> Ordering
fn cmp(&self, other: &InteractivityStyleValue) -> 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 InteractivityStyleValue
impl<'a> Parse<'a> for InteractivityStyleValue
Source§impl PartialEq for InteractivityStyleValue
impl PartialEq for InteractivityStyleValue
Source§impl PartialOrd for InteractivityStyleValue
impl PartialOrd for InteractivityStyleValue
Source§impl<'a> Peek<'a> for InteractivityStyleValue
impl<'a> Peek<'a> for InteractivityStyleValue
Source§impl ToCursors for InteractivityStyleValue
impl ToCursors for InteractivityStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for InteractivityStyleValue
impl StructuralPartialEq for InteractivityStyleValue
Auto Trait Implementations§
impl Freeze for InteractivityStyleValue
impl RefUnwindSafe for InteractivityStyleValue
impl Send for InteractivityStyleValue
impl Sync for InteractivityStyleValue
impl Unpin for InteractivityStyleValue
impl UnwindSafe for InteractivityStyleValue
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