pub struct Inner {
pub buffer: UnicodeString,
pub cursor: usize,
/* private fields */
}Expand description
Mutable interior state of a Terminal: the current line buffer,
command history, and cursor position.
Fields§
§buffer: UnicodeStringThe text currently entered on the active input line.
cursor: usizeCursor position as a character offset within buffer.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Inner
impl RefUnwindSafe for Inner
impl Send for Inner
impl Sync for Inner
impl Unpin for Inner
impl UnsafeUnpin for Inner
impl UnwindSafe for Inner
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