pub struct ControlSettings {
pub key_bindings: HashMap<String, KeyCode>,
pub mouse_sensitivity: f32,
pub controller_deadzone: f32,
}Fields§
§key_bindings: HashMap<String, KeyCode>§mouse_sensitivity: f32§controller_deadzone: f32Implementations§
Trait Implementations§
Source§impl Clone for ControlSettings
impl Clone for ControlSettings
Source§fn clone(&self) -> ControlSettings
fn clone(&self) -> ControlSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ControlSettings
impl Debug for ControlSettings
Auto Trait Implementations§
impl Freeze for ControlSettings
impl RefUnwindSafe for ControlSettings
impl Send for ControlSettings
impl Sync for ControlSettings
impl Unpin for ControlSettings
impl UnsafeUnpin for ControlSettings
impl UnwindSafe for ControlSettings
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