Trait unsegen::input::Writable [−][src]
pub trait Writable { fn write(&mut self, c: char) -> OperationResult; }
Expand description
Something that can be written to in the sense of a text box, editor or text input.
All inputs that correspond to keystrokes with a corresponding char
representation will be
converted and passed to the Writable
.
Required methods
fn write(&mut self, c: char) -> OperationResult
[src]
fn write(&mut self, c: char) -> OperationResult
[src]Process the provided char and report if it was processed successfully.
Implementors
impl Writable for PromptLine
[src]
impl Writable for PromptLine
[src]