Struct rich_sdl2_rust::haptic::effect::Trigger
source · pub struct Trigger {
pub button: u16,
pub interval: u16,
}
Expand description
A trigger button to start the effect, and an interval between the effect.
Fields§
The trigger button to start the effect
interval: u16
The interval between the effect in milliseconds.
Trait Implementations§
source§impl PartialEq for Trigger
impl PartialEq for Trigger
impl Eq for Trigger
impl StructuralPartialEq for Trigger
Auto Trait Implementations§
impl RefUnwindSafe for Trigger
impl Send for Trigger
impl Sync for Trigger
impl Unpin for Trigger
impl UnwindSafe for Trigger
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