Struct style::stylesheets::supports_rule::SupportsRule
[−]
[src]
pub struct SupportsRule { pub condition: SupportsCondition, pub rules: Arc<Locked<CssRules>>, pub enabled: bool, pub source_location: SourceLocation, }
An @supports
rule.
Fields
condition: SupportsCondition
The parsed condition
rules: Arc<Locked<CssRules>>
Child rules
enabled: bool
The result of evaluating the condition
source_location: SourceLocation
The line and column of the rule's source code.
Trait Implementations
impl Debug for SupportsRule
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl ToCssWithGuard for SupportsRule
[src]
fn to_css<W>(&self, guard: &SharedRwLockReadGuard, dest: &mut W) -> Result where
W: Write,
[src]
W: Write,
Serialize self
in CSS syntax, writing to dest
, using the given lock guard.
fn to_css_string(&self, guard: &SharedRwLockReadGuard) -> String
[src]
Serialize self
in CSS syntax using the given lock guard and return a string. Read more
impl DeepCloneWithLock for SupportsRule
[src]
fn deep_clone_with_lock(
&self,
lock: &SharedRwLock,
guard: &SharedRwLockReadGuard,
params: &DeepCloneParams
) -> Self
[src]
&self,
lock: &SharedRwLock,
guard: &SharedRwLockReadGuard,
params: &DeepCloneParams
) -> Self
Deep clones this object.