Enum linfa_kernel::inner::KernelInner[][src]

pub enum KernelInner<K1: Inner, K2: Inner> {
    Dense(K1),
    Sparse(K2),
}

Allows a kernel to have either a dense or a sparse inner matrix in a way that is transparent to the user

Variants

Dense(K1)
Sparse(K2)

Auto Trait Implementations

impl<K1, K2> RefUnwindSafe for KernelInner<K1, K2> where
    K1: RefUnwindSafe,
    K2: RefUnwindSafe

impl<K1, K2> Send for KernelInner<K1, K2> where
    K1: Send,
    K2: Send

impl<K1, K2> Sync for KernelInner<K1, K2> where
    K1: Sync,
    K2: Sync

impl<K1, K2> Unpin for KernelInner<K1, K2> where
    K1: Unpin,
    K2: Unpin

impl<K1, K2> UnwindSafe for KernelInner<K1, K2> where
    K1: UnwindSafe,
    K2: 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> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,