Struct opensrdk_kernel_method::instant::InstantKernel
source · pub struct InstantKernel<F>where
F: Fn(&Expression, &Expression, &[Expression]) -> Result<Expression, KernelError> + Clone + Send + Sync,{ /* private fields */ }
Trait Implementations§
source§impl<R, F> Add<R> for InstantKernel<F>where
R: PositiveDefiniteKernel,
F: Fn(&Expression, &Expression, &[Expression]) -> Result<Expression, KernelError> + Clone + Send + Sync,
impl<R, F> Add<R> for InstantKernel<F>where R: PositiveDefiniteKernel, F: Fn(&Expression, &Expression, &[Expression]) -> Result<Expression, KernelError> + Clone + Send + Sync,
source§impl<F> Clone for InstantKernel<F>where
F: Fn(&Expression, &Expression, &[Expression]) -> Result<Expression, KernelError> + Clone + Send + Sync + Clone,
impl<F> Clone for InstantKernel<F>where F: Fn(&Expression, &Expression, &[Expression]) -> Result<Expression, KernelError> + Clone + Send + Sync + Clone,
source§fn clone(&self) -> InstantKernel<F>
fn clone(&self) -> InstantKernel<F>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<F> Debug for InstantKernel<F>where
F: Fn(&Expression, &Expression, &[Expression]) -> Result<Expression, KernelError> + Clone + Send + Sync,
impl<F> Debug for InstantKernel<F>where F: Fn(&Expression, &Expression, &[Expression]) -> Result<Expression, KernelError> + Clone + Send + Sync,
source§impl<R, F> Mul<R> for InstantKernel<F>where
F: Fn(&Expression, &Expression, &[Expression]) -> Result<Expression, KernelError> + Clone + Send + Sync,
R: PositiveDefiniteKernel,
impl<R, F> Mul<R> for InstantKernel<F>where F: Fn(&Expression, &Expression, &[Expression]) -> Result<Expression, KernelError> + Clone + Send + Sync, R: PositiveDefiniteKernel,
source§impl<F> PositiveDefiniteKernel for InstantKernel<F>where
F: Fn(&Expression, &Expression, &[Expression]) -> Result<Expression, KernelError> + Clone + Send + Sync,
impl<F> PositiveDefiniteKernel for InstantKernel<F>where F: Fn(&Expression, &Expression, &[Expression]) -> Result<Expression, KernelError> + Clone + Send + Sync,
fn expression( &self, x: Expression, x_prime: Expression, params: &[Expression] ) -> Result<Expression, KernelError>
fn params_len(&self) -> usize
Auto Trait Implementations§
impl<F> RefUnwindSafe for InstantKernel<F>where F: RefUnwindSafe,
impl<F> Send for InstantKernel<F>
impl<F> Sync for InstantKernel<F>
impl<F> Unpin for InstantKernel<F>where F: Unpin,
impl<F> UnwindSafe for InstantKernel<F>where F: 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