add #[must_use] to AxisFrame

This commit is contained in:
may 2024-04-15 17:58:03 +02:00 committed by Victoria Brekenfeld
parent 45482a0f69
commit 8f7435df2c

View file

@ -970,6 +970,7 @@ pub struct ButtonEvent {
/// .value(Axis::Vertical, 30, time)
/// .stop(Axis::Vertical);
/// ```
#[must_use]
#[derive(Copy, Clone, Debug)]
pub struct AxisFrame {
/// Source of the axis event, if known