mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-07 11:59:59 +03:00
include size_of for older rust versions
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
use input_event::{Event as InputEvent, KeyboardEvent, PointerEvent};
|
||||
use num_enum::{IntoPrimitive, TryFromPrimitive, TryFromPrimitiveError};
|
||||
use paste::paste;
|
||||
use std::fmt::{Debug, Display};
|
||||
use std::{
|
||||
fmt::{Debug, Display},
|
||||
mem::size_of,
|
||||
};
|
||||
use thiserror::Error;
|
||||
|
||||
/// defines the maximum size an encoded event can take up
|
||||
|
||||
Reference in New Issue
Block a user