pub struct ScreenPointer {
pub x: i32,
pub y: i32,
pub scale: f32,
}Expand description
O mouse na tela durante um arrasto: pixels físicos e a escala (pixels por ponto) da janela onde o arrasto começou.
Fields§
§x: i32§y: i32§scale: f32Trait Implementations§
Source§impl Clone for ScreenPointer
impl Clone for ScreenPointer
impl Copy for ScreenPointer
Source§impl Debug for ScreenPointer
impl Debug for ScreenPointer
Source§impl Default for ScreenPointer
impl Default for ScreenPointer
Source§impl PartialEq for ScreenPointer
impl PartialEq for ScreenPointer
impl StructuralPartialEq for ScreenPointer
Auto Trait Implementations§
impl Forget for ScreenPointer
impl Freeze for ScreenPointer
impl Move for ScreenPointer
impl RefUnwindSafe for ScreenPointer
impl Send for ScreenPointer
impl Sync for ScreenPointer
impl Unpin for ScreenPointer
impl UnsafeUnpin for ScreenPointer
impl UnwindSafe for ScreenPointer
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