pub struct Input {
pub name: &'static str,
pub text: Label,
/* private fields */
}Fields§
§name: &'static str§text: LabelImplementations§
Trait Implementations§
Source§impl UiElement for Input
impl UiElement for Input
fn update(&mut self, console: &mut ConsoleUpdateInfo)
fn render(&self, buffer: &mut SizedBuffer)
fn is_clicked(&self, x: u16, y: u16) -> bool
fn get_name(&self) -> &str
fn has_focus(&self) -> bool
fn as_any(&self) -> &dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
fn is_focusable(&self) -> bool
fn on_focus(&mut self)
fn on_focus_removed(&mut self)
Auto Trait Implementations§
impl Freeze for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnwindSafe for Input
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more