pub struct WindowDragEvent {
pub phase: WindowDragPhase,
pub screen_x: f32,
pub screen_y: f32,
pub over_window: u32,
}Expand description
A torn-off window being dragged.
Fields§
§phase: WindowDragPhase§screen_x: f32Where the pointer is, in screen dp.
screen_y: f32§over_window: u32The id of the window under the pointer, or 0.
Trait Implementations§
Source§impl Clone for WindowDragEvent
impl Clone for WindowDragEvent
impl Copy for WindowDragEvent
Source§impl Debug for WindowDragEvent
impl Debug for WindowDragEvent
Source§impl PartialEq for WindowDragEvent
impl PartialEq for WindowDragEvent
impl StructuralPartialEq for WindowDragEvent
Auto Trait Implementations§
impl Freeze for WindowDragEvent
impl RefUnwindSafe for WindowDragEvent
impl Send for WindowDragEvent
impl Sync for WindowDragEvent
impl Unpin for WindowDragEvent
impl UnsafeUnpin for WindowDragEvent
impl UnwindSafe for WindowDragEvent
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