Skip to main content

FromStrParseable

Trait FromStrParseable 

Source
pub trait FromStrParseable:
    FromStr
    + Debug
    + Display { }
Expand description

Most values work with the FromStr implementation, but we want to override the behavior for some types (e.g. Option and bool) to have custom parsing behavior.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl FromStrParseable for f32

Source§

impl FromStrParseable for f64

Source§

impl FromStrParseable for i8

Source§

impl FromStrParseable for i16

Source§

impl FromStrParseable for i32

Source§

impl FromStrParseable for i64

Source§

impl FromStrParseable for isize

Source§

impl FromStrParseable for u8

Source§

impl FromStrParseable for u16

Source§

impl FromStrParseable for u32

Source§

impl FromStrParseable for u64

Source§

impl FromStrParseable for usize

Source§

impl FromStrParseable for String

Implementors§