[−][src]Enum hexponent::ParseErrorKind
Kind of parsing error.
Used in ParseError
Variants
No prefix was found. Hexadecimal literals must start with a "0x" or "0X" prefix.
Example: 0.F
No digits were found. Hexadecimals literals must have digits before or after the decimal point.
Example: 0x.
0x.p1
Hexadecimal literals with a "p" or "P" to indicate an float must have an exponent.
Example: 0xb.0p
0x1p-
The exponent of a hexidecimal literal must fit into a signed 32-bit integer.
Example: 0x1p3000000000
The end of the literal was expected, but more bytes were found.
Example: 0x1.g
Trait Implementations
impl Clone for ParseErrorKind
[src]
fn clone(&self) -> ParseErrorKind
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ParseErrorKind
[src]
impl Debug for ParseErrorKind
[src]
impl Eq for ParseErrorKind
[src]
impl PartialEq<ParseErrorKind> for ParseErrorKind
[src]
fn eq(&self, other: &ParseErrorKind) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for ParseErrorKind
[src]
impl StructuralPartialEq for ParseErrorKind
[src]
Auto Trait Implementations
impl RefUnwindSafe for ParseErrorKind
impl Send for ParseErrorKind
impl Sync for ParseErrorKind
impl Unpin for ParseErrorKind
impl UnwindSafe for ParseErrorKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,