mirror of
https://github.com/Smithay/smithay.git
synced 2024-09-28 03:21:14 +02:00
add #[must_use] to AxisFrame
This commit is contained in:
parent
45482a0f69
commit
8f7435df2c
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue