[][src]Struct oner_induction::Case

pub struct Case<A, C> {
    pub attribute_value: A,
    pub predicted_class: C,
}

A prediction based on an attribute value.

Fields

attribute_value: A

The attribute value this case matches against.

predicted_class: C

The predicted class when the attribute value is matched.

Trait Implementations

impl<A: Debug, C: Debug> Debug for Case<A, C>[src]

impl<A: Eq, C: Eq> Eq for Case<A, C>[src]

impl<A: Hash, C: Hash> Hash for Case<A, C>[src]

impl<A: PartialEq, C: PartialEq> PartialEq<Case<A, C>> for Case<A, C>[src]

impl<A, C> StructuralEq for Case<A, C>[src]

impl<A, C> StructuralPartialEq for Case<A, C>[src]

Auto Trait Implementations

impl<A, C> RefUnwindSafe for Case<A, C> where
    A: RefUnwindSafe,
    C: RefUnwindSafe

impl<A, C> Send for Case<A, C> where
    A: Send,
    C: Send

impl<A, C> Sync for Case<A, C> where
    A: Sync,
    C: Sync

impl<A, C> Unpin for Case<A, C> where
    A: Unpin,
    C: Unpin

impl<A, C> UnwindSafe for Case<A, C> where
    A: UnwindSafe,
    C: UnwindSafe

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, 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.