pub enum DecimateMethod {
Lttb,
MinMax,
}Expand description
The decimation strategy to apply when rendering a line.
Variants§
Lttb
Largest Triangle Three Buckets algorithm (best visual fidelity).
MinMax
Min-max decimation (fastest, preserves extremes).
Trait Implementations§
Source§impl Clone for DecimateMethod
impl Clone for DecimateMethod
Source§fn clone(&self) -> DecimateMethod
fn clone(&self) -> DecimateMethod
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 moreimpl Copy for DecimateMethod
Source§impl Debug for DecimateMethod
impl Debug for DecimateMethod
Source§impl PartialEq for DecimateMethod
impl PartialEq for DecimateMethod
Source§fn eq(&self, other: &DecimateMethod) -> bool
fn eq(&self, other: &DecimateMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DecimateMethod
Auto Trait Implementations§
impl Freeze for DecimateMethod
impl RefUnwindSafe for DecimateMethod
impl Send for DecimateMethod
impl Sync for DecimateMethod
impl Unpin for DecimateMethod
impl UnsafeUnpin for DecimateMethod
impl UnwindSafe for DecimateMethod
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