pub trait MockDomKeypadExt {
// Required method
fn add_keypad(&mut self, keypad: &WasmKeypad);
}Expand description
Extension trait for MockDom to add keypad
Required Methods§
Sourcefn add_keypad(&mut self, keypad: &WasmKeypad)
fn add_keypad(&mut self, keypad: &WasmKeypad)
Adds keypad to an existing calculator DOM
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".