pub struct DragFromPointer {
pub pointer_id: u32,
pub anchor_x: f32,
pub anchor_y: f32,
}Expand description
Opens a window under a pointer that is held down and has it follow the pointer until it is let go.
Fields§
§pointer_id: u32§anchor_x: f32The point of the new window’s content, in dp, that sits under the pointer.
anchor_y: f32Trait Implementations§
Source§impl Clone for DragFromPointer
impl Clone for DragFromPointer
impl Copy for DragFromPointer
Source§impl Debug for DragFromPointer
impl Debug for DragFromPointer
Source§impl PartialEq for DragFromPointer
impl PartialEq for DragFromPointer
impl StructuralPartialEq for DragFromPointer
Auto Trait Implementations§
impl Freeze for DragFromPointer
impl RefUnwindSafe for DragFromPointer
impl Send for DragFromPointer
impl Sync for DragFromPointer
impl Unpin for DragFromPointer
impl UnsafeUnpin for DragFromPointer
impl UnwindSafe for DragFromPointer
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