pub struct InvalidDecimalLocation;Expand description
An error that can occur while parsing a float literal when the number contains a decimal point in the wrong place.
Trait Implementations§
Source§impl Debug for InvalidDecimalLocation
impl Debug for InvalidDecimalLocation
Source§impl Display for InvalidDecimalLocation
impl Display for InvalidDecimalLocation
Source§impl Error for InvalidDecimalLocation
impl Error for InvalidDecimalLocation
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for InvalidDecimalLocation
impl RefUnwindSafe for InvalidDecimalLocation
impl Send for InvalidDecimalLocation
impl Sync for InvalidDecimalLocation
impl Unpin for InvalidDecimalLocation
impl UnwindSafe for InvalidDecimalLocation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more