pub trait HTMLFontElementMethods<D: DomTypes> {
// Required methods
fn Color(&self) -> DOMString;
fn SetColor(&self, cx: &mut JSContext, value: DOMString);
fn Face(&self) -> DOMString;
fn SetFace(&self, cx: &mut JSContext, value: DOMString);
fn Size(&self) -> DOMString;
fn SetSize(&self, cx: &mut JSContext, value: DOMString);
}Required Methods§
fn Color(&self) -> DOMString
fn SetColor(&self, cx: &mut JSContext, value: DOMString)
fn Face(&self) -> DOMString
fn SetFace(&self, cx: &mut JSContext, value: DOMString)
fn Size(&self) -> DOMString
fn SetSize(&self, cx: &mut JSContext, value: DOMString)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".