<commit_before>extern crate glutin;

use std::collections::HashSet;

#[derive(Clone, Debug, Eq, PartialEq)]
pub struct MouseState {
    pub at: (i32, i32), // could make this optional for off screen? might be a stupid idea.

    pub down: HashSet<glutin::MouseButton>,
    pub pushed: HashSet<glutin::MouseButton>,
    pub released: HashSet<glutin::MouseButton>,

    pub mouse_wheel_delta: i32, // we multiply the float delta by 100 and round it
}

impl MouseState {
    pub fn left_pushed(&self) -> bool {<commit_msg>Re-export glutin key codes and mouse buttons<commit_after>extern crate glutin;

use std::collections::HashSet;

pub use glutin::MouseButton;
pub use glutin::VirtualKeyCode;

#[derive(Clone, Debug, Eq, PartialEq)]
pub struct MouseState {
    pub at: (i32, i32), // could make this optional for off screen? might be a stupid idea.

    pub down: HashSet<glutin::MouseButton>,
    pub pushed: HashSet<glutin::MouseButton>,
    pub released: HashSet<glutin::MouseButton>,

    pub mouse_wheel_delta: i32, // we multiply the float delta by 100 and round it
}

impl MouseState {
    pub fn left_pushed(&self) -> bool {
{'fraction_non_alphanumeric': 0.10698496905393456, 'fraction_numerical': 0.015915119363395226, 'mean_word_length': 4.416267942583732, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5470418', 'n_tokens_mistral': 377, 'n_tokens_neox': 351, 'n_words': 124}