pub struct Repeat { /* private fields */ }Expand description
A repeat schedule: the first repeat after delay seconds held, then one
every interval.
The fields are private so the only schedules that exist are ones the evaluator can run: a zero or non-finite interval would repeat every tick forever, or never advance.
Implementations§
Trait Implementations§
impl Copy for Repeat
impl StructuralPartialEq for Repeat
Auto Trait Implementations§
impl Freeze for Repeat
impl RefUnwindSafe for Repeat
impl Send for Repeat
impl Sync for Repeat
impl Unpin for Repeat
impl UnsafeUnpin for Repeat
impl UnwindSafe for Repeat
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