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