ux-components 0.1.3

Backend agnostic GUI framework
Documentation
1
2
3
4
5
6
7
8
9
10
use super::Velocity;

pub struct DragEndDetails {
    // The velocity the pointer was moving along the primary axis when it
    // stopped contacting the screen, in logical pixels per second.
    pub primary_velocity: Option<f32>,

    // The velocity the pointer was moving when it stopped contacting the screen.
    pub velocity: Velocity,
}