Struct style::counter_style::CounterStyleRuleData
[−]
[src]
pub struct CounterStyleRuleData { /* fields omitted */ }An @counter-style rule
Methods
impl CounterStyleRuleData[src]
pub fn name(&self) -> &CustomIdent[src]
Get the name of the counter style rule.
pub fn system(&self) -> Cow<System>[src]
pub fn negative(&self) -> Cow<Negative>[src]
pub fn prefix(&self) -> Cow<Symbol>[src]
pub fn suffix(&self) -> Cow<Symbol>[src]
pub fn range(&self) -> Cow<Ranges>[src]
pub fn pad(&self) -> Cow<Pad>[src]
pub fn fallback(&self) -> Cow<Fallback>[src]
pub fn symbols(&self) -> Option<&Symbols>[src]
pub fn additive_symbols(&self) -> Option<&AdditiveSymbols>[src]
pub fn speak_as(&self) -> Cow<SpeakAs>[src]
impl CounterStyleRule[src]
pub fn clone_conditionally_gecko_or_servo(&self) -> CounterStyleRule[src]
Trait Implementations
impl Clone for CounterStyleRuleData[src]
fn clone(&self) -> CounterStyleRuleData[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 Debug for CounterStyleRuleData[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl ToCssWithGuard for CounterStyleRuleData[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