[][src]Enum rulinalg::ulp::UlpComparisonResult

pub enum UlpComparisonResult {

Represents the result of an ULP-based comparison between two floating point numbers.



Signifies an exact match between two floating point numbers.


The difference in ULP between two floating point numbers.


The two floating point numbers have different signs, and cannot be compared in a meaningful way.


One or both of the two floating point numbers is a NaN, in which case the ULP comparison is not meaningful.

Trait Implementations

impl Clone for UlpComparisonResult[src]

impl Copy for UlpComparisonResult[src]

impl Debug for UlpComparisonResult[src]

impl PartialEq<UlpComparisonResult> for UlpComparisonResult[src]

impl StructuralPartialEq for UlpComparisonResult[src]

Auto Trait Implementations

impl RefUnwindSafe for UlpComparisonResult

impl Send for UlpComparisonResult

impl Sync for UlpComparisonResult

impl Unpin for UlpComparisonResult

impl UnwindSafe for UlpComparisonResult

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.