pub struct Terminal { /* private fields */ }Expand description
A terminal emulator widget.
Implementations§
Trait Implementations§
Source§impl Widget for Terminal
impl Widget for Terminal
Source§fn set_bounds(&mut self, bounds: Rect)
fn set_bounds(&mut self, bounds: Rect)
Set the bounds of this widget. Read more
Source§fn handle_input(&mut self, _event: &InputEvent) -> bool
fn handle_input(&mut self, _event: &InputEvent) -> bool
Handle an input event. Read more
Source§fn needs_redraw(&self) -> bool
fn needs_redraw(&self) -> bool
Check if this widget needs to be redrawn.
Source§fn clear_redraw(&mut self)
fn clear_redraw(&mut self)
Clear the redraw flag after rendering.
Auto Trait Implementations§
impl Freeze for Terminal
impl RefUnwindSafe for Terminal
impl Send for Terminal
impl Sync for Terminal
impl Unpin for Terminal
impl UnwindSafe for Terminal
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