Skip to main content

ParseTo

Trait ParseTo 

Source
pub trait ParseTo {
    // Required method
    fn parse_to<T: Parse>(self) -> Result<T::Output>;
}
Available on crate feature parse only.
Expand description

the .parse_to function.

See Parse

Required Methods§

Source

fn parse_to<T: Parse>(self) -> Result<T::Output>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ParseTo for &mut str

Source§

fn parse_to<T: Parse>(self) -> Result<T::Output>

Source§

impl ParseTo for &str

Source§

fn parse_to<T: Parse>(self) -> Result<T::Output>

Source§

impl ParseTo for String

Source§

fn parse_to<T: Parse>(self) -> Result<T::Output>

Implementors§