Trait CmdLineMode

Source
pub trait CmdLineMode<U: Ui>:
    Send
    + Sync
    + 'static {
    // Provided methods
    fn on_focus(&mut self, text: &mut Text) { ... }
    fn on_unfocus(&mut self, text: &mut Text) { ... }
    fn update(&mut self, text: &mut Text) { ... }
    fn has_changed(&mut self) -> bool { ... }
    fn do_focus(&self) -> bool { ... }
    fn once()
       where Self: Sized { ... }
}

Provided Methods§

Source

fn on_focus(&mut self, text: &mut Text)

Source

fn on_unfocus(&mut self, text: &mut Text)

Source

fn update(&mut self, text: &mut Text)

Source

fn has_changed(&mut self) -> bool

Source

fn do_focus(&self) -> bool

Source

fn once()
where Self: Sized,

Implementors§