Trait SafeParsable
promptor::promptor
pub trait SafeParsable: Sized + Copy + Default + FromStr { }
Defines a trait that is safe to parse from a string and has a default value for .unwrap_or_default()
.unwrap_or_default()
impl<T> SafeParsable for T where T: Sized + Copy + Default + FromStr,