pub enum Extrapolate {
Error,
Clamp,
Extend,
}Expand description
Controls behaviour when an evaluation point lies outside the data range.
Variants§
Error
Return an error (default).
Clamp
Clamp the query to the nearest boundary value.
Extend
Extend the nearest segment/polynomial beyond the boundary.
Trait Implementations§
Source§impl Clone for Extrapolate
impl Clone for Extrapolate
Source§fn clone(&self) -> Extrapolate
fn clone(&self) -> Extrapolate
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 Extrapolate
impl Debug for Extrapolate
Source§impl Default for Extrapolate
impl Default for Extrapolate
Source§fn default() -> Extrapolate
fn default() -> Extrapolate
Returns the “default value” for a type. Read more
Source§impl PartialEq for Extrapolate
impl PartialEq for Extrapolate
impl Copy for Extrapolate
impl Eq for Extrapolate
impl StructuralPartialEq for Extrapolate
Auto Trait Implementations§
impl Freeze for Extrapolate
impl RefUnwindSafe for Extrapolate
impl Send for Extrapolate
impl Sync for Extrapolate
impl Unpin for Extrapolate
impl UnsafeUnpin for Extrapolate
impl UnwindSafe for Extrapolate
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