Enum fixed::RadixParseFixedError [−][src]
pub enum RadixParseFixedError { UnsupportedRadix, ParseFixedError(ParseFixedError), }
Expand description
An error which can be returned when parsing a fixed-point number with a given radix.
Variants
Expand description
The radix is not 2, 8, 10 or 16.
ParseFixedError(ParseFixedError)
Expand description
The string could not be parsed as a fixed-point number.
Trait Implementations
impl Clone for RadixParseFixedError
[src]
impl Clone for RadixParseFixedError
[src]fn clone(&self) -> RadixParseFixedError
[src]
fn clone(&self) -> RadixParseFixedError
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for RadixParseFixedError
[src]
impl Debug for RadixParseFixedError
[src]impl Display for RadixParseFixedError
[src]
impl Display for RadixParseFixedError
[src]impl Error for RadixParseFixedError
[src]
impl Error for RadixParseFixedError
[src]fn description(&self) -> &str
[src]
fn description(&self) -> &str
[src]use the Display impl or to_string()
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]The lower-level source of this error, if any. Read more
impl PartialEq<RadixParseFixedError> for RadixParseFixedError
[src]
impl PartialEq<RadixParseFixedError> for RadixParseFixedError
[src]fn eq(&self, other: &RadixParseFixedError) -> bool
[src]
fn eq(&self, other: &RadixParseFixedError) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &RadixParseFixedError) -> bool
[src]
fn ne(&self, other: &RadixParseFixedError) -> bool
[src]This method tests for !=
.
impl Copy for RadixParseFixedError
[src]
impl Eq for RadixParseFixedError
[src]
impl StructuralEq for RadixParseFixedError
[src]
impl StructuralPartialEq for RadixParseFixedError
[src]
Auto Trait Implementations
impl RefUnwindSafe for RadixParseFixedError
impl Send for RadixParseFixedError
impl Sync for RadixParseFixedError
impl Unpin for RadixParseFixedError
impl UnwindSafe for RadixParseFixedError
Blanket Implementations
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
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> CheckedAs for T
[src]
impl<T> CheckedAs for T
[src]pub fn checked_as<Dst>(self) -> Option<Dst> where
T: CheckedCast<Dst>,
[src]
pub fn checked_as<Dst>(self) -> Option<Dst> where
T: CheckedCast<Dst>,
[src]Casts the value.
impl<Src, Dst> LosslessTryInto<Dst> for Src where
Dst: LosslessTryFrom<Src>,
[src]
impl<Src, Dst> LosslessTryInto<Dst> for Src where
Dst: LosslessTryFrom<Src>,
[src]pub fn lossless_try_into(Self) -> Option<Dst>
[src]
pub fn lossless_try_into(Self) -> Option<Dst>
[src]Performs the conversion.
impl<Src, Dst> LossyInto<Dst> for Src where
Dst: LossyFrom<Src>,
[src]
impl<Src, Dst> LossyInto<Dst> for Src where
Dst: LossyFrom<Src>,
[src]pub fn lossy_into(Self) -> Dst
[src]
pub fn lossy_into(Self) -> Dst
[src]Performs the conversion.
impl<T> OverflowingAs for T
[src]
impl<T> OverflowingAs for T
[src]pub fn overflowing_as<Dst>(self) -> (Dst, bool) where
T: OverflowingCast<Dst>,
[src]
pub fn overflowing_as<Dst>(self) -> (Dst, bool) where
T: OverflowingCast<Dst>,
[src]Casts the value.
impl<T> SaturatingAs for T
[src]
impl<T> SaturatingAs for T
[src]pub fn saturating_as<Dst>(self) -> Dst where
T: SaturatingCast<Dst>,
[src]
pub fn saturating_as<Dst>(self) -> Dst where
T: SaturatingCast<Dst>,
[src]Casts the value.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> UnwrappedAs for T
[src]
impl<T> UnwrappedAs for T
[src]pub fn unwrapped_as<Dst>(self) -> Dst where
T: UnwrappedCast<Dst>,
[src]
pub fn unwrapped_as<Dst>(self) -> Dst where
T: UnwrappedCast<Dst>,
[src]Casts the value.
impl<T> WrappingAs for T
[src]
impl<T> WrappingAs for T
[src]pub fn wrapping_as<Dst>(self) -> Dst where
T: WrappingCast<Dst>,
[src]
pub fn wrapping_as<Dst>(self) -> Dst where
T: WrappingCast<Dst>,
[src]Casts the value.