Struct sp_std::num::ParseFloatError1.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 Debug for ParseFloatError[src]

impl Display for ParseFloatError[src]

impl Eq for ParseFloatError[src]

impl Error for ParseFloatError[src]

impl PartialEq<ParseFloatError> for ParseFloatError[src]

impl StructuralEq for ParseFloatError[src]

impl StructuralPartialEq for ParseFloatError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.