[][src]Enum ffsvm::Solution

pub enum Solution {
    Label(i32),
    Value(f32),
    None,
}

The result of a classification

Variants

Label(i32)

If classified this will hold the label.

Value(f32)

If regression was performed contains regression result.

None

No operation was performed yet.

Trait Implementations

impl Copy for Solution[src]

impl PartialEq<Solution> for Solution[src]

impl Clone for Solution[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Solution[src]

Auto Trait Implementations

impl Send for Solution

impl Sync for Solution

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

The type returned in the event of a conversion error.

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

impl<T, U> Cast for T where
    U: FromCast<T>, 
[src]

impl<T> FromCast for T[src]