Struct pepper::editor_utils::ReadLine
source · [−]pub struct ReadLine { /* private fields */ }
Implementations
sourceimpl ReadLine
impl ReadLine
pub fn prompt(&self) -> &str
pub fn set_prompt(&mut self, prompt: &str)
pub fn input(&self) -> &str
pub fn input_mut(&mut self) -> &mut String
pub fn poll(
&mut self,
platform: &mut Platform,
string_pool: &mut StringPool,
buffered_keys: &BufferedKeys,
keys_iter: &mut KeysIterator
) -> ReadLinePoll
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ReadLine
impl Send for ReadLine
impl Sync for ReadLine
impl Unpin for ReadLine
impl UnwindSafe for ReadLine
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more