pub struct DynConvolutionAlgorithmConvolution<R, C = Box<dyn DynConvolutionAlgorithm<R>>>{ /* private fields */ }Expand description
Wraps a DynConvolutionAlgorithm trait object to use it as a
feanor_math::algorithms::convolution::ConvolutionAlgorithm.
Implementations§
Source§impl<C, R> DynConvolutionAlgorithmConvolution<R, C>
impl<C, R> DynConvolutionAlgorithmConvolution<R, C>
Trait Implementations§
Source§impl<C, R> Clone for DynConvolutionAlgorithmConvolution<R, C>
impl<C, R> Clone for DynConvolutionAlgorithmConvolution<R, C>
Source§impl<C, R> ConvolutionAlgorithm<R> for DynConvolutionAlgorithmConvolution<R, C>
impl<C, R> ConvolutionAlgorithm<R> for DynConvolutionAlgorithmConvolution<R, C>
Source§fn compute_convolution<S: RingStore<Type = R> + Copy, V1: VectorView<El<S>>, V2: VectorView<El<S>>>(
&self,
lhs: V1,
rhs: V2,
dst: &mut [El<S>],
ring: S,
)
fn compute_convolution<S: RingStore<Type = R> + Copy, V1: VectorView<El<S>>, V2: VectorView<El<S>>>( &self, lhs: V1, rhs: V2, dst: &mut [El<S>], ring: S, )
Auto Trait Implementations§
impl<R, C> Freeze for DynConvolutionAlgorithmConvolution<R, C>
impl<R, C> RefUnwindSafe for DynConvolutionAlgorithmConvolution<R, C>
impl<R, C> Send for DynConvolutionAlgorithmConvolution<R, C>
impl<R, C> Sync for DynConvolutionAlgorithmConvolution<R, C>
impl<R, C> Unpin for DynConvolutionAlgorithmConvolution<R, C>
impl<R, C> UnwindSafe for DynConvolutionAlgorithmConvolution<R, C>
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<R, C> DynConvolutionAlgorithm<R> for C
impl<R, C> DynConvolutionAlgorithm<R> for C
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