pub struct LimitShift<'a, Element: Clone + 'static, Window: Clone> { /* private fields */ }Implementations§
source§impl<'a, Element: Clone, Window: Clone> LimitShift<'a, Element, Window>
 
impl<'a, Element: Clone, Window: Clone> LimitShift<'a, Element, Window>
pub fn new(options: LimitShiftOptions<'a, Element, Window>) -> Self
Trait Implementations§
source§impl<'a, Element: Clone + Clone + 'static, Window: Clone + Clone> Clone for LimitShift<'a, Element, Window>
 
impl<'a, Element: Clone + Clone + 'static, Window: Clone + Clone> Clone for LimitShift<'a, Element, Window>
source§fn clone(&self) -> LimitShift<'a, Element, Window>
 
fn clone(&self) -> LimitShift<'a, Element, Window>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl<'a, Element: Default + Clone + 'static, Window: Default + Clone> Default for LimitShift<'a, Element, Window>
 
impl<'a, Element: Default + Clone + 'static, Window: Default + Clone> Default for LimitShift<'a, Element, Window>
source§fn default() -> LimitShift<'a, Element, Window>
 
fn default() -> LimitShift<'a, Element, Window>
Returns the “default value” for a type. Read more
source§impl<Element: Clone + PartialEq, Window: Clone + PartialEq> Limiter<Element, Window> for LimitShift<'static, Element, Window>
 
impl<Element: Clone + PartialEq, Window: Clone + PartialEq> Limiter<Element, Window> for LimitShift<'static, Element, Window>
fn compute(&self, state: MiddlewareState<'_, Element, Window>) -> Coords
source§impl<'a, Element: PartialEq + Clone + 'static, Window: PartialEq + Clone> PartialEq for LimitShift<'a, Element, Window>
 
impl<'a, Element: PartialEq + Clone + 'static, Window: PartialEq + Clone> PartialEq for LimitShift<'a, Element, Window>
source§fn eq(&self, other: &LimitShift<'a, Element, Window>) -> bool
 
fn eq(&self, other: &LimitShift<'a, Element, Window>) -> bool
Tests for 
self and other values to be equal, and is used by ==.impl<'a, Element: Clone + 'static, Window: Clone> StructuralPartialEq for LimitShift<'a, Element, Window>
Auto Trait Implementations§
impl<'a, Element, Window> Freeze for LimitShift<'a, Element, Window>
impl<'a, Element, Window> !RefUnwindSafe for LimitShift<'a, Element, Window>
impl<'a, Element, Window> !Send for LimitShift<'a, Element, Window>
impl<'a, Element, Window> !Sync for LimitShift<'a, Element, Window>
impl<'a, Element, Window> Unpin for LimitShift<'a, Element, Window>
impl<'a, Element, Window> !UnwindSafe for LimitShift<'a, Element, Window>
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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)