pub trait ParseDecOrHex {
// Required method
fn parse_dec_or_hex(&self) -> Result<u64, ParseIntError>;
}Expand description
Helper trait to parse strings to usize from both decimal or hex
pub trait ParseDecOrHex {
// Required method
fn parse_dec_or_hex(&self) -> Result<u64, ParseIntError>;
}Helper trait to parse strings to usize from both decimal or hex