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