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

Required Methods§

Implementations on Foreign Types§

source§

impl ParseDecOrHex for str

Implementors§