#[non_exhaustive]pub enum PseudoElement {
Show 18 variants
After,
Backdrop,
Before,
Checkmark,
Cue,
DetailsContent,
FileSelectorButton,
FirstLetter,
FirstLine,
GrammarError,
Marker,
PickerSelect,
PickerIcon,
Placeholder,
Selection,
SpellingError,
TargetText,
ViewTransition,
}Expand description
A standard pseudo-element without arguments, and ::picker(select).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
After
::after.
Backdrop
::backdrop.
Before
::before.
Checkmark
::checkmark.
Cue
::cue.
DetailsContent
::details-content.
FileSelectorButton
::file-selector-button.
FirstLetter
::first-letter.
FirstLine
::first-line.
GrammarError
::grammar-error.
Marker
::marker.
PickerSelect
::picker(select).
PickerIcon
::picker-icon.
Placeholder
::placeholder.
Selection
::selection.
SpellingError
::spelling-error.
TargetText
::target-text.
ViewTransition
::view-transition.
Implementations§
Trait Implementations§
Source§impl Clone for PseudoElement
impl Clone for PseudoElement
Source§fn clone(&self) -> PseudoElement
fn clone(&self) -> PseudoElement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PseudoElement
Source§impl Debug for PseudoElement
impl Debug for PseudoElement
impl Eq for PseudoElement
Source§impl Hash for PseudoElement
impl Hash for PseudoElement
Source§impl Ord for PseudoElement
impl Ord for PseudoElement
Source§fn cmp(&self, other: &PseudoElement) -> Ordering
fn cmp(&self, other: &PseudoElement) -> Ordering
1.21.0 (const: unstable) · 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 PartialEq for PseudoElement
impl PartialEq for PseudoElement
Source§impl PartialOrd for PseudoElement
impl PartialOrd for PseudoElement
impl StructuralPartialEq for PseudoElement
Auto Trait Implementations§
impl Freeze for PseudoElement
impl RefUnwindSafe for PseudoElement
impl Send for PseudoElement
impl Sync for PseudoElement
impl Unpin for PseudoElement
impl UnsafeUnpin for PseudoElement
impl UnwindSafe for PseudoElement
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