pub enum Interpolation {
Linear,
StepBefore,
StepAfter,
Monotone,
}Expand description
Interpolation mode for line marks.
Variants§
Linear
Straight line segments.
StepBefore
Step function (horizontal then vertical).
StepAfter
Step function (vertical then horizontal).
Monotone
Monotone cubic spline.
Trait Implementations§
Source§impl Clone for Interpolation
impl Clone for Interpolation
Source§fn clone(&self) -> Interpolation
fn clone(&self) -> Interpolation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Interpolation
impl Debug for Interpolation
Source§impl Default for Interpolation
impl Default for Interpolation
Source§fn default() -> Interpolation
fn default() -> Interpolation
Returns the “default value” for a type. Read more
Source§impl PartialEq for Interpolation
impl PartialEq for Interpolation
Source§fn eq(&self, other: &Interpolation) -> bool
fn eq(&self, other: &Interpolation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Interpolation
impl Eq for Interpolation
impl StructuralPartialEq for Interpolation
Auto Trait Implementations§
impl Freeze for Interpolation
impl RefUnwindSafe for Interpolation
impl Send for Interpolation
impl Sync for Interpolation
impl Unpin for Interpolation
impl UnsafeUnpin for Interpolation
impl UnwindSafe for Interpolation
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