[][src]Struct mruby_bin::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 Default for PromptConfig[src]

Auto Trait Implementations

impl Send for PromptConfig

impl Unpin for PromptConfig

impl Sync for PromptConfig

impl UnwindSafe for PromptConfig

impl RefUnwindSafe for PromptConfig

Blanket Implementations

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.

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

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

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