Struct floating_ui_core::middleware::LimitShift
source · pub struct LimitShift<'a, Element: Clone, 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, Window: Clone + Clone> Clone for LimitShift<'a, Element, Window>
impl<'a, Element: Clone + Clone, 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 moreAuto 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