pub trait HTMLDialogElementMethods<D: DomTypes> {
// Required methods
fn Open(&self) -> bool;
fn SetOpen(&self, cx: &mut JSContext, value: bool);
fn ReturnValue(&self) -> DOMString;
fn SetReturnValue(&self, cx: &mut JSContext, value: DOMString);
fn Show(&self, cx: &mut JSContext) -> Fallible<()>;
fn ShowModal(&self, cx: &mut JSContext) -> Fallible<()>;
fn Close(&self, cx: &mut JSContext, returnValue: Option<DOMString>);
}Required Methods§
fn Open(&self) -> bool
fn SetOpen(&self, cx: &mut JSContext, value: bool)
fn ReturnValue(&self) -> DOMString
fn SetReturnValue(&self, cx: &mut JSContext, value: DOMString)
fn Show(&self, cx: &mut JSContext) -> Fallible<()>
fn ShowModal(&self, cx: &mut JSContext) -> Fallible<()>
fn Close(&self, cx: &mut JSContext, returnValue: Option<DOMString>)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".