[][src]Struct livesplit_core::run::editor::cleaning::SumOfBestCleaner

pub struct SumOfBestCleaner<'r> { /* fields omitted */ }

A Sum of Best Cleaner allows you to interactively remove potential issues in the Segment History that lead to an inaccurate Sum of Best. If you skip a split, whenever you get to the next split, the combined segment time might be faster than the sum of the individual best segments. The Sum of Best Cleaner will point out all occurrences of this and allows you to delete them individually if any of them seem wrong.

Methods

impl<'r> SumOfBestCleaner<'r>[src]

pub fn new(run: &'r mut Run) -> Self[src]

Creates a new Sum of Best Cleaner for the provided Run object.

pub fn apply(&mut self, clean_up: CleanUp)[src]

Applies a clean up to the Run.

pub fn next_potential_clean_up(&mut self) -> Option<PotentialCleanUp>[src]

Returns the next potential clean up. If there are no more potential clean ups, None is returned.

Auto Trait Implementations

impl<'r> Send for SumOfBestCleaner<'r>

impl<'r> Sync for SumOfBestCleaner<'r>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

fn adapt_into(self) -> D[src]

Convert the source color to the destination color using the bradford method by default Read more

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.