[][src]Enum hrbf::KernelType

pub enum KernelType<K> {
    Variable(Vec<K>),
    Constant(K),
}

HRBF specific kernel type. In general, we can assign a unique kernel to each HRBF site, or we can use the same kernel for all points. This corresponds to Variable and Constant kernel types respectively.

Variants

Variable(Vec<K>)Constant(K)

Trait Implementations

impl<K: Clone> Clone for KernelType<K>[src]

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

Performs copy-assignment from source. Read more

impl<K: Debug> Debug for KernelType<K>[src]

impl<K> Index<usize> for KernelType<K>[src]

type Output = K

The returned type after indexing.

Auto Trait Implementations

impl<K> Send for KernelType<K> where
    K: Send

impl<K> Unpin for KernelType<K> where
    K: Unpin

impl<K> Sync for KernelType<K> where
    K: Sync

impl<K> UnwindSafe for KernelType<K> where
    K: UnwindSafe

impl<K> RefUnwindSafe for KernelType<K> where
    K: RefUnwindSafe

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>,