FromStr

Trait FromStr 

Source
pub trait FromStr {
    // Required method
    fn from_str(str: &str) -> Self;
}

Required Methods§

Source

fn from_str(str: &str) -> Self

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 FromStr for bool

Source§

fn from_str(str: &str) -> Self

Source§

impl FromStr for PathBuf

Source§

fn from_str(str: &str) -> Self

Implementors§