Enum linregress::InvalidValueHandling[][src]

pub enum InvalidValueHandling {
    ReturnError,
    DropInvalid,
    // some variants omitted
}

How to proceed if given non real f64 values (NaN or infinity or negative infinity).

Used with RegressionDataBuilder.invalid_value_handling

The default is ReturnError.

Variants

ReturnError

Return an error to the caller.

DropInvalid

Drop the columns containing the invalid values.

Trait Implementations

impl Clone for InvalidValueHandling[src]

impl Copy for InvalidValueHandling[src]

impl Debug for InvalidValueHandling[src]

impl Default for InvalidValueHandling[src]

Auto Trait Implementations

impl RefUnwindSafe for InvalidValueHandling

impl Send for InvalidValueHandling

impl Sync for InvalidValueHandling

impl Unpin for InvalidValueHandling

impl UnwindSafe for InvalidValueHandling

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.