Struct opensrdk_kernel_method::instant::InstantKernel
source · [−]pub struct InstantKernel<T, F> where
T: Value,
F: Fn(&[f64], &T, &T) -> Result<f64, KernelError> + Clone + Send + Sync, { /* private fields */ }
Implementations
Trait Implementations
sourceimpl<T, R, F> Add<R> for InstantKernel<T, F> where
T: Value,
R: PositiveDefiniteKernel<T>,
F: Fn(&[f64], &T, &T) -> Result<f64, KernelError> + Clone + Send + Sync,
impl<T, R, F> Add<R> for InstantKernel<T, F> where
T: Value,
R: PositiveDefiniteKernel<T>,
F: Fn(&[f64], &T, &T) -> Result<f64, KernelError> + Clone + Send + Sync,
sourceimpl<T: Clone, F: Clone> Clone for InstantKernel<T, F> where
T: Value,
F: Fn(&[f64], &T, &T) -> Result<f64, KernelError> + Clone + Send + Sync,
impl<T: Clone, F: Clone> Clone for InstantKernel<T, F> where
T: Value,
F: Fn(&[f64], &T, &T) -> Result<f64, KernelError> + Clone + Send + Sync,
sourcefn clone(&self) -> InstantKernel<T, F>
fn clone(&self) -> InstantKernel<T, F>
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<T, F> Debug for InstantKernel<T, F> where
T: Value,
F: Fn(&[f64], &T, &T) -> Result<f64, KernelError> + Clone + Send + Sync,
impl<T, F> Debug for InstantKernel<T, F> where
T: Value,
F: Fn(&[f64], &T, &T) -> Result<f64, KernelError> + Clone + Send + Sync,
Auto Trait Implementations
impl<T, F> RefUnwindSafe for InstantKernel<T, F> where
F: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, F> Send for InstantKernel<T, F>
impl<T, F> Sync for InstantKernel<T, F>
impl<T, F> Unpin for InstantKernel<T, F> where
F: Unpin,
T: Unpin,
impl<T, F> UnwindSafe for InstantKernel<T, F> where
F: UnwindSafe,
T: 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
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more