Trait num_format::parsing::FromFormattedStr
source · pub trait FromFormattedStr: Sealed + Sized {
// Required method
fn from_formatted_str<F>(s: &str, format: &F) -> Result<Self, Error>
where F: Format;
}
Expand description
Marker trait for number types (e.g. u32
) that string-like types can be parsed
into via the ParseFormatted
trait.
This trait is sealed; so you may not implement it on your own types.