pub struct ComboLink {
pub input: ComboInput,
pub time_window: f32,
pub min_delay: f32,
}Fields§
§input: ComboInput§time_window: f32Maximum seconds after the previous hit’s confirm window opens
min_delay: f32Minimum seconds (prevents mashing being too easy)
Implementations§
Source§impl ComboLink
impl ComboLink
pub fn new(input: ComboInput, window: f32) -> Self
pub fn with_min_delay(self, d: f32) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ComboLink
impl RefUnwindSafe for ComboLink
impl Send for ComboLink
impl Sync for ComboLink
impl Unpin for ComboLink
impl UnsafeUnpin for ComboLink
impl UnwindSafe for ComboLink
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