canvas/src/io.rs
2022-08-21 21:09:19 +02:00

21 lines
468 B
Rust

#[allow(unused_imports)]
use log::{debug, error, info, trace, warn};
use bitflags::bitflags;
//--Key enum----------------------------------------------------------------------------------------
bitflags! {
pub struct Key: u128 {
const A = 0x1 << 0;
const B = 0x1 << 1;
}
}
//--Scroll struct-----------------------------------------------------------------------------------
#[allow(dead_code)]
pub struct Scroll {
x: f32,
y: f32,
}