Enum selectors::context::IncludeStartingStyle
source · pub enum IncludeStartingStyle {
No,
Yes,
}
Expand description
The mode to use whether we should matching rules inside @starting-style. https://drafts.csswg.org/css-transitions-2/#starting-style
Variants§
No
All without rules inside @starting-style. This is for the most common case because the primary/pseudo styles doesn’t use rules inside @starting-style.
Yes
Get the starting style. The starting style for an element as the after-change style with @starting-style rules applied in addition. In other words, this matches all rules, including rules inside @starting-style.
Trait Implementations§
source§impl Clone for IncludeStartingStyle
impl Clone for IncludeStartingStyle
source§fn clone(&self) -> IncludeStartingStyle
fn clone(&self) -> IncludeStartingStyle
Returns a copy 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 IncludeStartingStyle
impl Debug for IncludeStartingStyle
source§impl PartialEq for IncludeStartingStyle
impl PartialEq for IncludeStartingStyle
source§fn eq(&self, other: &IncludeStartingStyle) -> bool
fn eq(&self, other: &IncludeStartingStyle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for IncludeStartingStyle
impl Eq for IncludeStartingStyle
impl StructuralPartialEq for IncludeStartingStyle
Auto Trait Implementations§
impl Freeze for IncludeStartingStyle
impl RefUnwindSafe for IncludeStartingStyle
impl Send for IncludeStartingStyle
impl Sync for IncludeStartingStyle
impl Unpin for IncludeStartingStyle
impl UnwindSafe for IncludeStartingStyle
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