pub struct HeaderDrag<R: Copy + Eq + Ord> {
pub id: R,
pub initial_x: i32,
pub initial_y: i32,
pub start_x: u16,
pub start_y: u16,
}Expand description
State of an in-progress header drag (move).
Fields§
§id: R§initial_x: i32§initial_y: i32§start_x: u16§start_y: u16Trait Implementations§
Source§impl<R: Clone + Copy + Eq + Ord> Clone for HeaderDrag<R>
impl<R: Clone + Copy + Eq + Ord> Clone for HeaderDrag<R>
Source§fn clone(&self) -> HeaderDrag<R>
fn clone(&self) -> HeaderDrag<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 HeaderDrag<R>
Auto Trait Implementations§
impl<R> Freeze for HeaderDrag<R>where
R: Freeze,
impl<R> RefUnwindSafe for HeaderDrag<R>where
R: RefUnwindSafe,
impl<R> Send for HeaderDrag<R>where
R: Send,
impl<R> Sync for HeaderDrag<R>where
R: Sync,
impl<R> Unpin for HeaderDrag<R>where
R: Unpin,
impl<R> UnsafeUnpin for HeaderDrag<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for HeaderDrag<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