pub enum PointerEventsStyleValue {
Auto(Ident),
None(Ident),
}Expand description
Represents the style value for pointer-events as defined in css-ui-4.
The pointer-events CSS property sets whether a user can interact with an element using a mouse, touch, or other pointing input device.
The grammar is defined as:
auto | noneVariants§
Trait Implementations§
Source§impl Clone for PointerEventsStyleValue
impl Clone for PointerEventsStyleValue
Source§fn clone(&self) -> PointerEventsStyleValue
fn clone(&self) -> PointerEventsStyleValue
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 PointerEventsStyleValue
impl Debug for PointerEventsStyleValue
Source§impl Hash for PointerEventsStyleValue
impl Hash for PointerEventsStyleValue
Source§impl Ord for PointerEventsStyleValue
impl Ord for PointerEventsStyleValue
Source§fn cmp(&self, other: &PointerEventsStyleValue) -> Ordering
fn cmp(&self, other: &PointerEventsStyleValue) -> 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 PointerEventsStyleValue
impl<'a> Parse<'a> for PointerEventsStyleValue
Source§impl PartialEq for PointerEventsStyleValue
impl PartialEq for PointerEventsStyleValue
Source§impl PartialOrd for PointerEventsStyleValue
impl PartialOrd for PointerEventsStyleValue
Source§impl<'a> Peek<'a> for PointerEventsStyleValue
impl<'a> Peek<'a> for PointerEventsStyleValue
Source§impl ToCursors for PointerEventsStyleValue
impl ToCursors for PointerEventsStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for PointerEventsStyleValue
impl StructuralPartialEq for PointerEventsStyleValue
Auto Trait Implementations§
impl Freeze for PointerEventsStyleValue
impl RefUnwindSafe for PointerEventsStyleValue
impl Send for PointerEventsStyleValue
impl Sync for PointerEventsStyleValue
impl Unpin for PointerEventsStyleValue
impl UnwindSafe for PointerEventsStyleValue
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