pub enum StyleQuery<'a> {
Condition(StyleCondition<'a>),
Feature(Declaration<'a>),
FeatureName(InterpolableIdent<'a>),
}Variants§
Condition(StyleCondition<'a>)
Feature(Declaration<'a>)
FeatureName(InterpolableIdent<'a>)
A bare <custom-property-name> existence test: style(--theme)
(css-conditional-5 <style-feature>).
Implementations§
§impl<'a> StyleQuery<'a>
impl<'a> StyleQuery<'a>
Trait Implementations§
Source§impl<'a> Debug for StyleQuery<'a>
impl<'a> Debug for StyleQuery<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for StyleQuery<'a>
impl<'a> !Send for StyleQuery<'a>
impl<'a> !Sync for StyleQuery<'a>
impl<'a> !UnwindSafe for StyleQuery<'a>
impl<'a> Freeze for StyleQuery<'a>
impl<'a> Unpin for StyleQuery<'a>
impl<'a> UnsafeUnpin for StyleQuery<'a>
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