pub trait Focusable: Component {
// Required methods
fn set_focused(&mut self, focused: bool);
fn focused(&self) -> bool;
}Expand description
Components that display a text cursor and need IME support.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".