Trait smart_read::IntoInput

source ·
pub trait IntoInput {
    // Required method
    fn into_input(self) -> Input;
}
Expand description

Allows a type to be used as input. Example:

pub struct TerminalInput;
impl IntoInput for TerminalInput {
	...
}
 
read!(TerminalInput >>);

Required Methods§

Implementors§

source§

impl<T: Into<String>> IntoInput for T