[][src]Struct artichoke::repl::PromptConfig

pub struct PromptConfig {
    pub simple: String,
    pub continued: String,
    pub result_prefix: String,
}

Configuration for the REPL readline prompt.

Fields

simple: String

Basic prompt for start of a new expression.

continued: String

Altered prompt when an expression is not terminated.

result_prefix: String

Prefix for the result of $expression.inspect. A newline is printed after the Ruby result.

Trait Implementations

impl Clone for PromptConfig[src]

impl Debug for PromptConfig[src]

impl Default for PromptConfig[src]

impl Eq for PromptConfig[src]

impl Hash for PromptConfig[src]

impl Ord for PromptConfig[src]

impl PartialEq<PromptConfig> for PromptConfig[src]

impl PartialOrd<PromptConfig> for PromptConfig[src]

impl StructuralEq for PromptConfig[src]

impl StructuralPartialEq for PromptConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for PromptConfig

impl Send for PromptConfig

impl Sync for PromptConfig

impl Unpin for PromptConfig

impl UnwindSafe for PromptConfig

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]