pub enum UiPointerEvent {
Move {
x: f32,
y: f32,
},
Click {
x: f32,
y: f32,
button: UiMouseButton,
},
Scroll {
x: f32,
y: f32,
delta: f32,
},
}Variants§
Trait Implementations§
Source§impl Clone for UiPointerEvent
impl Clone for UiPointerEvent
Source§fn clone(&self) -> UiPointerEvent
fn clone(&self) -> UiPointerEvent
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 Copy for UiPointerEvent
Source§impl Debug for UiPointerEvent
impl Debug for UiPointerEvent
Source§impl PartialEq for UiPointerEvent
impl PartialEq for UiPointerEvent
impl StructuralPartialEq for UiPointerEvent
Auto Trait Implementations§
impl Freeze for UiPointerEvent
impl RefUnwindSafe for UiPointerEvent
impl Send for UiPointerEvent
impl Sync for UiPointerEvent
impl Unpin for UiPointerEvent
impl UnsafeUnpin for UiPointerEvent
impl UnwindSafe for UiPointerEvent
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