pub struct InterpolatedFunctionDim {
pub input_range: (f32, f32),
pub output_range: (f32, f32),
pub c0: f32,
pub c1: f32,
pub exponent: f32,
}Fields§
§input_range: (f32, f32)§output_range: (f32, f32)§c0: f32§c1: f32§exponent: f32Implementations§
Trait Implementations§
Source§impl Clone for InterpolatedFunctionDim
impl Clone for InterpolatedFunctionDim
Source§fn clone(&self) -> InterpolatedFunctionDim
fn clone(&self) -> InterpolatedFunctionDim
Returns a duplicate 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 DataSize for InterpolatedFunctionDim
impl DataSize for InterpolatedFunctionDim
Source§const IS_DYNAMIC: bool = false
const IS_DYNAMIC: bool = false
If
true, the type has a heap size that can vary at runtime, depending on the actual value.Source§const STATIC_HEAP_SIZE: usize = 0usize
const STATIC_HEAP_SIZE: usize = 0usize
The amount of space a value of the type always occupies. If
IS_DYNAMIC is false, this is
the total amount of heap memory occupied by the value. Otherwise this is a lower bound.Source§fn estimate_heap_size(&self) -> usize
fn estimate_heap_size(&self) -> usize
Estimates the size of heap memory taken up by this value. Read more
Auto Trait Implementations§
impl Freeze for InterpolatedFunctionDim
impl RefUnwindSafe for InterpolatedFunctionDim
impl Send for InterpolatedFunctionDim
impl Sync for InterpolatedFunctionDim
impl Unpin for InterpolatedFunctionDim
impl UnwindSafe for InterpolatedFunctionDim
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