pub enum Repeating {
None,
Cycle {
start: usize,
len: usize,
period: i64,
},
}Expand description
Repeating describes how (or if) the transition pattern continues
indefinitely after the last explicit entry in the transitions slice.
Variants§
None
Cycle
The pattern repeats every period seconds starting at index start.
len is the number of entries in one repeating unit (usually 2).
Trait Implementations§
impl Copy for Repeating
impl Eq for Repeating
impl StructuralPartialEq for Repeating
Auto Trait Implementations§
impl Freeze for Repeating
impl RefUnwindSafe for Repeating
impl Send for Repeating
impl Sync for Repeating
impl Unpin for Repeating
impl UnsafeUnpin for Repeating
impl UnwindSafe for Repeating
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