pub trait FromFormattedStr: Sealed + Sized {
    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.

Required Methods§

Implementations on Foreign Types§

Implementors§