Struct freenukum::inputfield::InputField
source · [−]pub struct InputField { /* private fields */ }
Implementations
sourceimpl InputField
impl InputField
pub fn new(max_length: usize) -> Self
pub fn backspace_pressed(&mut self)
pub fn delete_pressed(&mut self)
pub fn left_pressed(&mut self)
pub fn right_pressed(&mut self)
pub fn symbol_pressed(&mut self, symbol: char)
pub fn render(&self, renderer: &mut dyn Renderer) -> Result<()>
pub fn get_text(&self) -> &str
Auto Trait Implementations
impl RefUnwindSafe for InputField
impl Send for InputField
impl Sync for InputField
impl Unpin for InputField
impl UnwindSafe for InputField
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more