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