pub struct Replay {
pub after: Ticks,
pub play_for: Ticks,
pub with_delay: Ticks,
}
Expand description
Defines scheduling of the basic force feedback effect.
____________ ____________ ____________
| | | | |
_______| |____________| |____________|
after play_for with_delay play_for with_delay play_for
Fields§
§after: Ticks
Start playback after
ticks after Effect::play()
is called.
play_for: Ticks
Playback duration.
with_delay: Ticks
If playback should be repeated delay it for with_delay
ticks.
Implementations§
Trait Implementations§
source§impl PartialEq for Replay
impl PartialEq for Replay
impl Copy for Replay
impl Eq for Replay
impl StructuralEq for Replay
impl StructuralPartialEq for Replay
Auto Trait Implementations§
impl RefUnwindSafe for Replay
impl Send for Replay
impl Sync for Replay
impl Unpin for Replay
impl UnwindSafe for Replay
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