pub trait Parse: Sized {
// Required methods
fn new() -> Self;
fn set_input(&mut self, s: &str);
fn set_skip_reg(&mut self, reg_str: &str);
fn run<T: Product<Self>>(&mut self) -> Result<T, (String, usize)>;
}Required Methods§
fn new() -> Self
fn set_input(&mut self, s: &str)
fn set_skip_reg(&mut self, reg_str: &str)
fn run<T: Product<Self>>(&mut self) -> Result<T, (String, usize)>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.