Trait rt_format::parser::ConvertToSize[][src]

pub trait ConvertToSize {
    fn convert(&self) -> Result<usize, ()>;
}
Expand description

A type conversion into usize that might fail, similar to TryInto. Does not consume self.

Required methods

Tries perform the conversion.

Implementors