pub struct Repeater {
pub repeater_type: RepeaterType,
pub value: u32,
pub unit: RepeaterUnit,
}Expand description
Repeater type and interval
Fields§
§repeater_type: RepeaterTypeHow the next occurrence is derived from the previous one.
value: u32Interval count N in +Nd — how many units apart occurrences are.
unit: RepeaterUnitThe unit the interval is counted in.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Repeater
Auto Trait Implementations§
impl Freeze for Repeater
impl RefUnwindSafe for Repeater
impl Send for Repeater
impl Sync for Repeater
impl Unpin for Repeater
impl UnsafeUnpin for Repeater
impl UnwindSafe for Repeater
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