Enum num_rational::RatioErrorKind
source · pub(crate) enum RatioErrorKind {
ParseError,
ZeroDenominator,
}
Variants§
Implementations§
source§impl RatioErrorKind
impl RatioErrorKind
pub(crate) fn description(&self) -> &'static str
Trait Implementations§
source§impl Clone for RatioErrorKind
impl Clone for RatioErrorKind
source§fn clone(&self) -> RatioErrorKind
fn clone(&self) -> RatioErrorKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RatioErrorKind
impl Debug for RatioErrorKind
source§impl PartialEq for RatioErrorKind
impl PartialEq for RatioErrorKind
impl Copy for RatioErrorKind
impl StructuralPartialEq for RatioErrorKind
Auto Trait Implementations§
impl Freeze for RatioErrorKind
impl RefUnwindSafe for RatioErrorKind
impl Send for RatioErrorKind
impl Sync for RatioErrorKind
impl Unpin for RatioErrorKind
impl UnwindSafe for RatioErrorKind
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)