pub struct PenPacket {
pub x: f32,
pub y: f32,
pub pressure: f32,
pub tilt_x: f32,
pub tilt_y: f32,
pub rotation: f32,
pub time_ms: u64,
pub received_at: Instant,
}Fields§
§x: f32§y: f32§pressure: f32§tilt_x: f32§tilt_y: f32§rotation: f32§time_ms: u64§received_at: InstantTrait Implementations§
Auto Trait Implementations§
impl Forget for PenPacket
impl Freeze for PenPacket
impl Move for PenPacket
impl RefUnwindSafe for PenPacket
impl Send for PenPacket
impl Sync for PenPacket
impl Unpin for PenPacket
impl UnsafeUnpin for PenPacket
impl UnwindSafe for PenPacket
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