Enum basalt::interface::hook::BinHookData [−][src]
pub enum BinHookData {
Press {
mouse_x: f32,
mouse_y: f32,
key_active: HashMap<Qwery, bool>,
mouse_active: HashMap<MouseButton, bool>,
},
Hold {
mouse_x: f32,
mouse_y: f32,
first_call: Instant,
last_call: Instant,
is_first_call: bool,
initial_delay: Duration,
initial_delay_wait: bool,
initial_delay_elapsed: bool,
interval: Duration,
accel: f32,
key_active: HashMap<Qwery, bool>,
mouse_active: HashMap<MouseButton, bool>,
},
Release {
pressed: bool,
key_active: HashMap<Qwery, bool>,
mouse_active: HashMap<MouseButton, bool>,
},
Character {
char_ty: Character,
},
MouseEnter {
mouse_x: f32,
mouse_y: f32,
},
MouseLeave {
mouse_x: f32,
mouse_y: f32,
},
MouseMove {
mouse_x: f32,
mouse_y: f32,
mouse_dx: f32,
mouse_dy: f32,
},
MouseScroll {
scroll_amt: f32,
},
Focused,
LostFocus,
}
Variants
Fields of Press
Fields of Hold
Fields of Release
Fields of Character
char_ty: Character
Fields of MouseScroll
scroll_amt: f32
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BinHookData
impl Send for BinHookData
impl Sync for BinHookData
impl Unpin for BinHookData
impl UnwindSafe for BinHookData
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.