pub struct EventLine {
pub event_name: String,
pub keyboard_id: KeyID,
pub mouse_id: KeyID,
pub gamepad_id: KeyID,
pub remap_key: bool,
pub remap_mouse: bool,
pub remap_gamepad: bool,
pub event_binary_flag: Option<String>,
}
Expand description
One line event
e.g. PickNext 0x09 0x1 0xff 0 0 0
Fields§
§event_name: String
§keyboard_id: KeyID
§mouse_id: KeyID
§gamepad_id: KeyID
§remap_key: bool
§remap_mouse: bool
§remap_gamepad: bool
§event_binary_flag: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EventLine
impl<'de> Deserialize<'de> for EventLine
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
impl StructuralPartialEq for EventLine
Auto Trait Implementations§
impl Freeze for EventLine
impl RefUnwindSafe for EventLine
impl Send for EventLine
impl Sync for EventLine
impl Unpin for EventLine
impl UnwindSafe for EventLine
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