Struct sp_std::num::ParseFloatError 1.0.0[−][src]
pub struct ParseFloatError { /* fields omitted */ }
An error which can be returned when parsing a float.
This error is used as the error type for the FromStr
implementation
for f32
and f64
.
Example
use std::str::FromStr; if let Err(e) = f64::from_str("a.12") { println!("Failed conversion to f64: {}", e); }
Trait Implementations
impl Clone for ParseFloatError
[src]
impl Clone for ParseFloatError
[src]pub fn clone(&self) -> ParseFloatError
[src]
pub fn clone_from(&mut self, source: &Self)
[src]
impl Debug for ParseFloatError
[src]
impl Debug for ParseFloatError
[src]impl Display for ParseFloatError
[src]
impl Display for ParseFloatError
[src]impl Error for ParseFloatError
[src]
impl Error for ParseFloatError
[src]impl PartialEq<ParseFloatError> for ParseFloatError
[src]
impl PartialEq<ParseFloatError> for ParseFloatError
[src]