pub enum PseudoElement {
Before,
After,
Marker,
FirstLine,
FirstLetter,
Placeholder,
}Expand description
疑似要素(::before / ::after、レガシー単コロンも含む)。
動的な状態を持つ疑似クラスとは別枠で扱う(要素自体のマッチ判定には影響しない)。
Variants§
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 PartialEq for PseudoElement
impl PartialEq for PseudoElement
Source§fn eq(&self, other: &PseudoElement) -> bool
fn eq(&self, other: &PseudoElement) -> bool
Tests for
self and other values to be equal, and is used by ==.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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.