pub enum UserSelectStyleValue {
Auto(Ident),
Text(Ident),
None(Ident),
Contain(Ident),
All(Ident),
}Expand description
Represents the style value for user-select as defined in css-ui-4.
The user-select CSS property controls which elements can be selected by the user.
The grammar is defined as:
auto | text | none | contain | allVariants§
Trait Implementations§
Source§impl Clone for UserSelectStyleValue
impl Clone for UserSelectStyleValue
Source§fn clone(&self) -> UserSelectStyleValue
fn clone(&self) -> UserSelectStyleValue
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 UserSelectStyleValue
impl Debug for UserSelectStyleValue
Source§impl Hash for UserSelectStyleValue
impl Hash for UserSelectStyleValue
Source§impl Ord for UserSelectStyleValue
impl Ord for UserSelectStyleValue
Source§fn cmp(&self, other: &UserSelectStyleValue) -> Ordering
fn cmp(&self, other: &UserSelectStyleValue) -> 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 UserSelectStyleValue
impl<'a> Parse<'a> for UserSelectStyleValue
Source§impl PartialEq for UserSelectStyleValue
impl PartialEq for UserSelectStyleValue
Source§impl PartialOrd for UserSelectStyleValue
impl PartialOrd for UserSelectStyleValue
Source§impl<'a> Peek<'a> for UserSelectStyleValue
impl<'a> Peek<'a> for UserSelectStyleValue
Source§impl ToCursors for UserSelectStyleValue
impl ToCursors for UserSelectStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for UserSelectStyleValue
impl StructuralPartialEq for UserSelectStyleValue
Auto Trait Implementations§
impl Freeze for UserSelectStyleValue
impl RefUnwindSafe for UserSelectStyleValue
impl Send for UserSelectStyleValue
impl Sync for UserSelectStyleValue
impl Unpin for UserSelectStyleValue
impl UnwindSafe for UserSelectStyleValue
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