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