Struct serde_spaniel::rustyline::RustyLinePrompt
source · [−]pub struct RustyLinePrompt<T: BorrowMut<Editor<H>>, H: SpanielHelper> { /* private fields */ }
Expand description
Prompt based on RustyLine
Implementations
sourceimpl<T: BorrowMut<Editor<H>>, H: SpanielHelper> RustyLinePrompt<T, H>
impl<T: BorrowMut<Editor<H>>, H: SpanielHelper> RustyLinePrompt<T, H>
sourcepub fn with_editor(editor: T) -> Self
pub fn with_editor(editor: T) -> Self
Constructs a new RustyLinePrompt
with the editor T
.
Trait Implementations
sourceimpl<T: BorrowMut<Editor<H>>, H: SpanielHelper> Drop for RustyLinePrompt<T, H>
impl<T: BorrowMut<Editor<H>>, H: SpanielHelper> Drop for RustyLinePrompt<T, H>
sourceimpl<T: BorrowMut<Editor<H>>, H: SpanielHelper> PromptRequester for RustyLinePrompt<T, H>
impl<T: BorrowMut<Editor<H>>, H: SpanielHelper> PromptRequester for RustyLinePrompt<T, H>
sourcefn is_interactive(&self) -> bool
fn is_interactive(&self) -> bool
Returns true if the prompt is currently interactive.
sourceimpl<T: BorrowMut<Editor<H>>, H: SpanielHelper> PromptResponder for RustyLinePrompt<T, H>
impl<T: BorrowMut<Editor<H>>, H: SpanielHelper> PromptResponder for RustyLinePrompt<T, H>
Auto Trait Implementations
impl<T, H> RefUnwindSafe for RustyLinePrompt<T, H> where
H: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, H> Send for RustyLinePrompt<T, H> where
H: Send,
T: Send,
impl<T, H> Sync for RustyLinePrompt<T, H> where
H: Sync,
T: Sync,
impl<T, H> Unpin for RustyLinePrompt<T, H> where
H: Unpin,
T: Unpin,
impl<T, H> UnwindSafe for RustyLinePrompt<T, H> where
H: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more