pub struct DynInterpType<T> { /* private fields */ }
Expand description
Representation of an Interpolation Type that is not known in compile-time.
Implementations§
Source§impl<T> DynInterpType<T>
impl<T> DynInterpType<T>
Trait Implementations§
Source§impl<T> InterpType<T> for DynInterpType<T>
impl<T> InterpType<T> for DynInterpType<T>
Source§type Interpolation = Box<dyn Interpolation<T> + Sync + Send>
type Interpolation = Box<dyn Interpolation<T> + Sync + Send>
The returned Interpolator, containing the calculated coefficients and providing the
evaluation methods.
Source§fn build(
&self,
xa: &[T],
ya: &[T],
) -> Result<Self::Interpolation, InterpolationError>
fn build( &self, xa: &[T], ya: &[T], ) -> Result<Self::Interpolation, InterpolationError>
Auto Trait Implementations§
impl<T> Freeze for DynInterpType<T>
impl<T> !RefUnwindSafe for DynInterpType<T>
impl<T> Send for DynInterpType<T>
impl<T> Sync for DynInterpType<T>
impl<T> Unpin for DynInterpType<T>
impl<T> !UnwindSafe for DynInterpType<T>
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