pub struct MacroEntry {
pub name: String,
pub trigger: KeyCombo,
pub actions: Vec<Action>,
pub device_id: Option<String>,
pub enabled: bool,
pub humanize: bool,
pub capture_mouse: bool,
}Expand description
Macro definition with name, trigger combo, and actions
Fields§
§name: String§trigger: KeyCombo§actions: Vec<Action>§device_id: Option<String>§enabled: bool§humanize: bool§capture_mouse: boolTrait Implementations§
Source§impl Clone for MacroEntry
impl Clone for MacroEntry
Source§fn clone(&self) -> MacroEntry
fn clone(&self) -> MacroEntry
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 MacroEntry
impl Debug for MacroEntry
Source§impl<'de> Deserialize<'de> for MacroEntry
impl<'de> Deserialize<'de> for MacroEntry
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 PartialEq for MacroEntry
impl PartialEq for MacroEntry
Source§impl Serialize for MacroEntry
impl Serialize for MacroEntry
impl StructuralPartialEq for MacroEntry
Auto Trait Implementations§
impl Freeze for MacroEntry
impl RefUnwindSafe for MacroEntry
impl Send for MacroEntry
impl Sync for MacroEntry
impl Unpin for MacroEntry
impl UnsafeUnpin for MacroEntry
impl UnwindSafe for MacroEntry
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