pub struct SumKernel<K1: KernelType, K2: KernelType> { /* private fields */ }Expand description
Sum composition of two kernels SumKernel
Trait Implementations§
Source§impl<K1: Clone + KernelType, K2: Clone + KernelType> Clone for SumKernel<K1, K2>
impl<K1: Clone + KernelType, K2: Clone + KernelType> Clone for SumKernel<K1, K2>
Source§impl<K1: KernelType, K2: KernelType> ComposableKernel for SumKernel<K1, K2>
impl<K1: KernelType, K2: KernelType> ComposableKernel for SumKernel<K1, K2>
type CompositionResult<Other: ComposableKernel> = SumKernel<SumKernel<K1, K2>, Other>
Source§fn compose<Other: ComposableKernel>(self) -> Self::CompositionResult<Other>
fn compose<Other: ComposableKernel>(self) -> Self::CompositionResult<Other>
Combine this kernel with another kernel
Source§impl<K1: Debug + KernelType, K2: Debug + KernelType> Debug for SumKernel<K1, K2>
impl<K1: Debug + KernelType, K2: Debug + KernelType> Debug for SumKernel<K1, K2>
Source§impl<K1: KernelType, K2: KernelType> KernelType for SumKernel<K1, K2>
impl<K1: KernelType, K2: KernelType> KernelType for SumKernel<K1, K2>
impl<K1: Copy + KernelType, K2: Copy + KernelType> Copy for SumKernel<K1, K2>
Auto Trait Implementations§
impl<K1, K2> Freeze for SumKernel<K1, K2>
impl<K1, K2> RefUnwindSafe for SumKernel<K1, K2>where
K1: RefUnwindSafe,
K2: RefUnwindSafe,
impl<K1, K2> Send for SumKernel<K1, K2>
impl<K1, K2> Sync for SumKernel<K1, K2>
impl<K1, K2> Unpin for SumKernel<K1, K2>
impl<K1, K2> UnwindSafe for SumKernel<K1, K2>where
K1: UnwindSafe,
K2: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more