Struct 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); }Run
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]pub fn eq(&self, other: &ParseFloatError) -> bool
[src]
pub fn ne(&self, other: &ParseFloatError) -> bool
[src]
impl Eq for ParseFloatError
[src]
impl StructuralEq for ParseFloatError
[src]
impl StructuralPartialEq for ParseFloatError
[src]
Auto Trait Implementations
impl RefUnwindSafe for ParseFloatError
impl Send for ParseFloatError
impl Sync for ParseFloatError
impl Unpin for ParseFloatError
impl UnwindSafe for ParseFloatError
Blanket Implementations
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]pub fn borrow(&self) -> &TⓘNotable traits for &'_ mut F
impl<'_, F> Future for &'_ mut F where
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<R: Read + ?Sized> Read for &mut Rimpl<W: Write + ?Sized> Write for &mut W
[src]
Notable traits for &'_ mut F
impl<'_, F> Future for &'_ mut F where
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<R: Read + ?Sized> Read for &mut Rimpl<W: Write + ?Sized> Write for &mut W
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut TⓘNotable traits for &'_ mut F
impl<'_, F> Future for &'_ mut F where
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<R: Read + ?Sized> Read for &mut Rimpl<W: Write + ?Sized> Write for &mut W
[src]
Notable traits for &'_ mut F
impl<'_, F> Future for &'_ mut F where
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<R: Read + ?Sized> Read for &mut Rimpl<W: Write + ?Sized> Write for &mut W