pub(crate) trait CSSKeyframesRuleMethods<D>where
D: DomTypes,{
// Required methods
fn Name(&self) -> DOMString;
fn SetName(&self, cx: &NoGC, value: DOMString) -> Result<(), Error>;
fn CssRules(
&self,
cx: &mut JSContext,
) -> Root<Dom<<D as DomTypes>::CSSRuleList>>;
fn AppendRule(&self, cx: &NoGC, rule: DOMString);
fn DeleteRule(&self, cx: &mut JSContext, select: DOMString);
fn FindRule(
&self,
cx: &mut JSContext,
select: DOMString,
) -> Option<Root<Dom<<D as DomTypes>::CSSKeyframeRule>>>;
}Required Methods§
fn Name(&self) -> DOMString
fn SetName(&self, cx: &NoGC, value: DOMString) -> Result<(), Error>
fn CssRules( &self, cx: &mut JSContext, ) -> Root<Dom<<D as DomTypes>::CSSRuleList>>
fn AppendRule(&self, cx: &NoGC, rule: DOMString)
fn DeleteRule(&self, cx: &mut JSContext, select: DOMString)
fn FindRule( &self, cx: &mut JSContext, select: DOMString, ) -> Option<Root<Dom<<D as DomTypes>::CSSKeyframeRule>>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".