pub trait InputItemwhere
Self: Sized,{
// Required method
fn read_part(tok: &mut impl Iterator<Item = &'static str>) -> Option<Self>;
}Expand description
Trait implemented for all types that can be parsed from an input line.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".