pub enum Extrapolate {
Clamp,
Extend,
Wrap,
}Expand description
Behavior outside a mapping’s input interval.
Variants§
Clamp
Keep the nearest endpoint.
Extend
Continue the endpoint segment linearly.
Wrap
Repeat the half-open input interval.
Trait Implementations§
Source§impl Clone for Extrapolate
impl Clone for Extrapolate
impl Copy for Extrapolate
Source§impl Debug for Extrapolate
impl Debug for Extrapolate
Source§impl Default for Extrapolate
impl Default for Extrapolate
impl Eq for Extrapolate
Source§impl PartialEq for Extrapolate
impl PartialEq for Extrapolate
impl StructuralPartialEq for Extrapolate
Auto Trait Implementations§
impl Forget for Extrapolate
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