pub trait StyleSheetMethods<D>where
D: DomTypes,{
// Required methods
fn Type(&self) -> DOMString;
fn GetHref(&self) -> Option<DOMString>;
fn GetOwnerNode(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>;
fn GetTitle(&self) -> Option<DOMString>;
fn Media(&self, cx: &mut JSContext) -> Root<Dom<<D as DomTypes>::MediaList>>;
fn Disabled(&self) -> bool;
fn SetDisabled(&self, cx: &NoGC, value: bool);
}Required Methods§
fn Type(&self) -> DOMString
fn GetHref(&self) -> Option<DOMString>
fn GetOwnerNode(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>
fn GetTitle(&self) -> Option<DOMString>
fn Media(&self, cx: &mut JSContext) -> Root<Dom<<D as DomTypes>::MediaList>>
fn Disabled(&self) -> bool
fn SetDisabled(&self, cx: &NoGC, value: bool)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".