pub struct LineEdit {
pub buf: String,
pub cursor: usize,
/* private fields */
}Expand description
The text of a line prompt and the cursor in it, as a char index.
Fields§
§buf: String§cursor: usizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LineEdit
impl RefUnwindSafe for LineEdit
impl Send for LineEdit
impl Sync for LineEdit
impl Unpin for LineEdit
impl UnsafeUnpin for LineEdit
impl UnwindSafe for LineEdit
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