pub enum Threshold {
KeepAll,
Percentile(f64),
Fixed(f64),
}Expand description
Possible thresholding settings.
Variants§
KeepAll
Keep all edges.
Percentile(f64)
Restrict to the edges of length less than the given percentile of all distances.
Fixed(f64)
Restrict to the edges of length less that the given value.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Threshold
impl RefUnwindSafe for Threshold
impl Send for Threshold
impl Sync for Threshold
impl Unpin for Threshold
impl UnwindSafe for Threshold
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