pub enum InterpolationMethod {
Nearest,
Linear,
Step,
}Expand description
Interpolation method for daily profiles.
Variants§
Nearest
Use the nearest defined value
Linear
Linear interpolation between defined values
Step
Step function (use previous defined value)
Trait Implementations§
Source§impl Clone for InterpolationMethod
impl Clone for InterpolationMethod
Source§fn clone(&self) -> InterpolationMethod
fn clone(&self) -> InterpolationMethod
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 Debug for InterpolationMethod
impl Debug for InterpolationMethod
Source§impl Default for InterpolationMethod
impl Default for InterpolationMethod
Source§fn default() -> InterpolationMethod
fn default() -> InterpolationMethod
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InterpolationMethod
impl<'de> Deserialize<'de> for InterpolationMethod
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for InterpolationMethod
impl Serialize for InterpolationMethod
impl Copy for InterpolationMethod
Auto Trait Implementations§
impl Freeze for InterpolationMethod
impl RefUnwindSafe for InterpolationMethod
impl Send for InterpolationMethod
impl Sync for InterpolationMethod
impl Unpin for InterpolationMethod
impl UnwindSafe for InterpolationMethod
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