Struct reedline::Reedline[][src]

pub struct Reedline { /* fields omitted */ }


impl Reedline[src]

pub fn new() -> Reedline[src]

pub fn print_history(&mut self) -> Result<()>[src]

pub fn read_line(&mut self) -> Result<Signal>[src]

pub fn print_message(&mut self, msg: &str) -> Result<()>[src]

First jumps to new line then prints message with following newline.

pub fn print_line(&mut self, msg: &str) -> Result<()>[src]

Same behavior as std::println!

pub fn print_crlf(&mut self) -> Result<()>[src]

Goes to the beginning of the next line

pub fn print_events(&mut self) -> Result<()>[src]

pub fn clear_screen(&mut self) -> Result<()>[src]

Trait Implementations

impl Default for Reedline[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.