Enum css::domain::selectors::PseudoElement
[−]
[src]
pub enum PseudoElement { after, backdrop(Option<VendorPrefix>), before, cue, first_letter, first_line, marker, grammar_error, placeholder(Option<VendorPrefix>), selection(Option<VendorPrefix>), spelling_error, progress_bar(Option<VendorPrefix>), range_progress(Option<VendorPrefix>), range_thumb(Option<VendorPrefix>), range_track(Option<VendorPrefix>), details_summary(Option<VendorPrefix>), details_content(Option<VendorPrefix>), text(Option<VendorPrefix>), input_text(Option<VendorPrefix>), table_wrapper(Option<VendorPrefix>), anonymous_table_wrapper(Option<VendorPrefix>), anonymous_table(Option<VendorPrefix>), anonymous_table_row(Option<VendorPrefix>), anonymous_table_cell(Option<VendorPrefix>), anonymous_block(Option<VendorPrefix>), inline_block_wrapper(Option<VendorPrefix>), inline_absolute(Option<VendorPrefix>), }
A pseudo-element, both public and private.
Variants
after
backdrop(Option<VendorPrefix>)
before
cue
first_letter
first_line
marker
grammar_error
placeholder(Option<VendorPrefix>)
selection(Option<VendorPrefix>)
spelling_error
progress_bar(Option<VendorPrefix>)
range_progress(Option<VendorPrefix>)
range_thumb(Option<VendorPrefix>)
range_track(Option<VendorPrefix>)
details_summary(Option<VendorPrefix>)
details_content(Option<VendorPrefix>)
text(Option<VendorPrefix>)
input_text(Option<VendorPrefix>)
table_wrapper(Option<VendorPrefix>)
anonymous_table_wrapper(Option<VendorPrefix>)
anonymous_table(Option<VendorPrefix>)
anonymous_table_row(Option<VendorPrefix>)
anonymous_table_cell(Option<VendorPrefix>)
anonymous_block(Option<VendorPrefix>)
inline_block_wrapper(Option<VendorPrefix>)
inline_absolute(Option<VendorPrefix>)
Methods
impl PseudoElement
[src]
fn supports_user_action_state(&self) -> bool
[src]
Whether this pseudo-element supports user action selectors.
Trait Implementations
impl Debug for PseudoElement
[src]
impl Clone for PseudoElement
[src]
fn clone(&self) -> PseudoElement
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Ord for PseudoElement
[src]
fn cmp(&self, __arg_0: &PseudoElement) -> Ordering
[src]
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.22.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.22.0[src]
Compares and returns the minimum of two values. Read more
impl PartialOrd for PseudoElement
[src]
fn partial_cmp(&self, __arg_0: &PseudoElement) -> Option<Ordering>
[src]
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &PseudoElement) -> bool
[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &PseudoElement) -> bool
[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &PseudoElement) -> bool
[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &PseudoElement) -> bool
[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Eq for PseudoElement
[src]
impl PartialEq for PseudoElement
[src]
fn eq(&self, __arg_0: &PseudoElement) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PseudoElement) -> bool
[src]
This method tests for !=
.
impl Hash for PseudoElement
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl ToCss for PseudoElement
[src]
fn to_css<W: Write>(&self, dest: &mut W) -> Result
[src]
Serialize self
in CSS syntax, writing to dest
.
fn to_css_string(&self) -> String
[src]
Serialize self
in CSS syntax and return a string. Read more
impl PseudoElement for PseudoElement
[src]
type Impl = OurSelectorImpl
The SelectorImpl
this pseudo-element is used for.
fn supports_pseudo_class(
&self,
pseudo_class: &<Self::Impl as SelectorImpl>::NonTSPseudoClass
) -> bool
[src]
&self,
pseudo_class: &<Self::Impl as SelectorImpl>::NonTSPseudoClass
) -> bool
Whether the pseudo-element supports a given state selector to the right of it. Read more