Trait Limiter
Source pub trait Limiter<Element: Clone + 'static, Window: Clone + 'static>:
    Clone
    + PartialEq
    + Dyn {
    // Required method
    fn compute(&self, state: MiddlewareState<'_, Element, Window>) -> Coords;
}
Expand description
Limiter used by Shift middleware. Limits the shifting done in order to prevent detachment.
Performs copy-assignment from 
source. 
Read more
Tests for self and other values to be equal, and is used by ==.
Tests for !=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
Tests for self and other values to be equal, and is used by ==.
Tests for !=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.