Struct arcdps::extras::keybinds::KeybindChange
source · pub struct KeybindChange {
pub control: Control,
pub index: i32,
pub key: Key,
pub mod_shift: bool,
pub mod_ctrl: bool,
pub mod_alt: bool,
}
Expand description
Keybind change event.
Fields§
§control: Control
Game control which changed.
index: i32
Index in settings.
key: Key
New key.
mod_shift: bool
Whether the Shift modifier is used.
mod_ctrl: bool
Whether the Ctrl modifier is used.
mod_alt: bool
Whether the Alt modifier is used.
Trait Implementations§
source§impl Clone for KeybindChange
impl Clone for KeybindChange
source§fn clone(&self) -> KeybindChange
fn clone(&self) -> KeybindChange
Returns a copy 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 KeybindChange
impl Debug for KeybindChange
source§impl<'de> Deserialize<'de> for KeybindChange
impl<'de> Deserialize<'de> for KeybindChange
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<RawKeybindChange> for KeybindChange
impl From<RawKeybindChange> for KeybindChange
source§fn from(raw: RawKeybindChange) -> Self
fn from(raw: RawKeybindChange) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KeybindChange
impl RefUnwindSafe for KeybindChange
impl Send for KeybindChange
impl Sync for KeybindChange
impl Unpin for KeybindChange
impl UnwindSafe for KeybindChange
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)