pub enum StepWhere {
Pre,
Post,
Mid,
}Expand description
Controls where the horizontal segment of a step chart is placed.
Variants§
Pre
The y-value changes before the x-value (vertical then horizontal).
Post
The y-value changes after the x-value (horizontal then vertical).
Mid
The y-value changes at the midpoint between consecutive x-values.
Trait Implementations§
impl Copy for StepWhere
impl Eq for StepWhere
impl StructuralPartialEq for StepWhere
Auto Trait Implementations§
impl Freeze for StepWhere
impl RefUnwindSafe for StepWhere
impl Send for StepWhere
impl Sync for StepWhere
impl Unpin for StepWhere
impl UnsafeUnpin for StepWhere
impl UnwindSafe for StepWhere
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