bevy/crates
AustinHellerRepo 1541727e66 added Hash to MouseScrollUnit; (#17538)
# Objective

This allows for the usage of the MouseScrollUnit as a key to a HashSet
and HashMap. I have a need for this, but this basic functionality is
currently missing.

## Solution

Add the derive Hash attribute to the MouseScrollUnit type.

## Testing

- Did you test these changes? If so, how?
No, but I did perform a `cargo build`. My laptop is failing to run
`cargo test` without crashing.
- Are there any parts that need more testing?
If someone could run a `cargo test` for completeness, that would be
great but this is a trivial change.
- How can other people (reviewers) test your changes? Is there anything
specific they need to know?
They simply need to ensure that the common Hash derive macro works as
expected for the basic MouseScrollUnit type.
- If relevant, what platforms did you test these changes on, and are
there any important ones you can't test?
Ubuntu 22.04
2025-02-06 22:32:23 +01:00
..
bevy_a11y Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_animation Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_app Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_asset Fix duplicate asset loader registration warning (#17105) 2025-02-06 22:30:49 +01:00
bevy_audio Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_color Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_core Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_core_pipeline Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_derive Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_dev_tools Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_diagnostic Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_dylib Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_ecs Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_encase_derive Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_gilrs Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_gizmos Fix 2D Gizmos not always drawn on top (#17085) 2025-02-06 22:30:49 +01:00
bevy_gltf Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_hierarchy Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_image Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_input added Hash to MouseScrollUnit; (#17538) 2025-02-06 22:32:23 +01:00
bevy_internal Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_log Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_macro_utils Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_math Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_mesh Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_mikktspace Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_pbr Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_picking Add type registration for PickingInteraction (#17372) 2025-02-06 22:31:23 +01:00
bevy_ptr Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_reflect Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_remote Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_render Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_scene Add missing #[reflect(Component, Default)] to SceneRoot and DynamicSceneRoot. (#16816) 2025-02-06 22:30:46 +01:00
bevy_sprite Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_state Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_tasks Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_text Fix text alignment for unbounded text (#17270) 2025-02-06 22:30:57 +01:00
bevy_time Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_transform Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_ui Fixing ui antialiasing clamp call parameters order (#14970) (#17456) 2025-02-06 22:32:23 +01:00
bevy_utils Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_window Release 0.15.1 2025-01-03 19:43:53 +01:00
bevy_winit Release 0.15.1 2025-01-03 19:43:53 +01:00