[][src]Struct serde_spaniel::rustyline::RustyLinePrompt

pub struct RustyLinePrompt<T: BorrowMut<Editor<H>>, H: SpanielHelper> { /* fields omitted */ }

Prompt based on RustyLine

Implementations

impl RustyLinePrompt<Editor<SimpleHelper>, SimpleHelper>[src]

pub fn new() -> Self[src]

Constructs a new RustyLinePrompt which owns a stock editor.

impl<T: BorrowMut<Editor<H>>, H: SpanielHelper> RustyLinePrompt<T, H>[src]

pub fn with_editor(mut editor: T) -> Self[src]

Constructs a new RustyLinePrompt with the editor T.

Trait Implementations

impl Default for RustyLinePrompt<Editor<SimpleHelper>, SimpleHelper>[src]

impl<T: BorrowMut<Editor<H>>, H: SpanielHelper> Drop for RustyLinePrompt<T, H>[src]

impl<T: BorrowMut<Editor<H>>, H: SpanielHelper> PromptRequester for RustyLinePrompt<T, H>[src]

impl<T: BorrowMut<Editor<H>>, H: SpanielHelper> PromptResponder for RustyLinePrompt<T, H>[src]

Auto Trait Implementations

impl<T, H> RefUnwindSafe for RustyLinePrompt<T, H> where
    H: RefUnwindSafe,
    T: RefUnwindSafe
[src]

impl<T, H> Send for RustyLinePrompt<T, H> where
    H: Send,
    T: Send
[src]

impl<T, H> Sync for RustyLinePrompt<T, H> where
    H: Sync,
    T: Sync
[src]

impl<T, H> Unpin for RustyLinePrompt<T, H> where
    H: Unpin,
    T: Unpin
[src]

impl<T, H> UnwindSafe for RustyLinePrompt<T, H> where
    H: UnwindSafe,
    T: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.