pub trait CSSMethods<D: DomTypes> {
    // Required methods
    fn Escape(global: &Window, ident: DOMString) -> Result<DOMString, Error>;
    fn Supports(global: &Window, property: DOMString, value: DOMString) -> bool;
    fn Supports_(global: &Window, conditionText: DOMString) -> bool;
    fn PaintWorklet(global: &Window) -> Root<Dom<Worklet>>;
}

Required Methods§

source

fn Escape(global: &Window, ident: DOMString) -> Result<DOMString, Error>

source

fn Supports(global: &Window, property: DOMString, value: DOMString) -> bool

source

fn Supports_(global: &Window, conditionText: DOMString) -> bool

source

fn PaintWorklet(global: &Window) -> Root<Dom<Worklet>>

Object Safety§

This trait is not object safe.

Implementors§