Trait repl_rs::Convert

source ·
pub trait Convert<T> {
    // Required method
    fn convert(&self) -> Result<T>;
}
Expand description

Trait to convert from a Value to some other type.

Required Methods§

source

fn convert(&self) -> Result<T>

Implementors§