pub struct DragHandle<R: Copy + Eq + Ord> {
pub id: R,
pub rect: LayoutRect,
}Expand description
A hit-test region for the title bar of a floating window.
Fields§
§id: R§rect: LayoutRectTrait Implementations§
Source§impl<R: Clone + Copy + Eq + Ord> Clone for DragHandle<R>
impl<R: Clone + Copy + Eq + Ord> Clone for DragHandle<R>
Source§fn clone(&self) -> DragHandle<R>
fn clone(&self) -> DragHandle<R>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<R: Copy + Copy + Eq + Ord> Copy for DragHandle<R>
Auto Trait Implementations§
impl<R> Freeze for DragHandle<R>where
R: Freeze,
impl<R> RefUnwindSafe for DragHandle<R>where
R: RefUnwindSafe,
impl<R> Send for DragHandle<R>where
R: Send,
impl<R> Sync for DragHandle<R>where
R: Sync,
impl<R> Unpin for DragHandle<R>where
R: Unpin,
impl<R> UnsafeUnpin for DragHandle<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for DragHandle<R>where
R: UnwindSafe,
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