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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.