Enum linfa_kernel::inner::KernelInner
source · [−]Expand description
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)
Trait Implementations
sourceimpl<K1: Clone + Inner, K2: Clone + Inner> Clone for KernelInner<K1, K2>
impl<K1: Clone + Inner, K2: Clone + Inner> Clone for KernelInner<K1, K2>
sourcefn clone(&self) -> KernelInner<K1, K2>
fn clone(&self) -> KernelInner<K1, K2>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<K1: PartialEq + Inner, K2: PartialEq + Inner> PartialEq<KernelInner<K1, K2>> for KernelInner<K1, K2>
impl<K1: PartialEq + Inner, K2: PartialEq + Inner> PartialEq<KernelInner<K1, K2>> for KernelInner<K1, K2>
sourcefn eq(&self, other: &KernelInner<K1, K2>) -> bool
fn eq(&self, other: &KernelInner<K1, K2>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &KernelInner<K1, K2>) -> bool
fn ne(&self, other: &KernelInner<K1, K2>) -> bool
This method tests for !=
.
impl<K1: Inner, K2: Inner> StructuralPartialEq for KernelInner<K1, 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more