◐ Shell
clean mode source ↗

rustpython::shell::readline::Readline - Rust

impl<'vm> Readline<'vm>[src]

pub fn new(vm: &'vm VirtualMachine, scope: Scope) -> Self[src]

pub fn load_history(&mut self, path: &Path) -> Result<(), Box<dyn Error>>[src]

pub fn save_history(&mut self, path: &Path) -> Result<(), Box<dyn Error>>[src]

pub fn add_history_entry(&mut self, entry: &str) -> Result<(), Box<dyn Error>>[src]

pub fn readline(&mut self, prompt: &str) -> ReadlineResult[src]

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]

fn from(t: T) -> T[src]

Performs the conversion.

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

fn into(self) -> U[src]

Performs the conversion.

impl<T> Same<T> for T

type Output = T

Should always be Self

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

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

fn vzip(self) -> V