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§
impl Copy for Replay
impl Eq for Replay
impl StructuralPartialEq for Replay
Auto Trait Implementations§
impl Freeze for Replay
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)