pub struct InputEditor { /* private fields */ }Implementations§
Source§impl InputEditor
impl InputEditor
pub fn with_reasoning_toggle( value: &str, cwd: impl Into<PathBuf>, ) -> Result<Self>
pub fn reasoning_key(&self) -> char
pub fn is_reasoning_toggle( &self, code: KeyCode, modifiers: KeyModifiers, ) -> bool
pub fn read_action(&mut self) -> Result<InputAction>
pub fn add_history_entries(&mut self, entries: &[String]) -> Result<()>
pub fn select_option( &mut self, prompt: &str, choices: &[String], default: usize, ) -> Result<Option<usize>>
pub fn select_checkpoint( &mut self, checkpoints: &[(String, String)], renderer: &InlineRenderer, ) -> Result<Option<String>>
Auto Trait Implementations§
impl !RefUnwindSafe for InputEditor
impl !UnwindSafe for InputEditor
impl Freeze for InputEditor
impl Send for InputEditor
impl Sync for InputEditor
impl Unpin for InputEditor
impl UnsafeUnpin for InputEditor
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