pub struct Step<E> { /* private fields */ }Expand description
A step value constrained by a expression value. The max value of this type differs depending
on the type E. The minimum value is always 1.
| Type | Max |
|---|---|
Minute | 59 |
Hour | 23 |
DayOfMonth | 30 |
Month | 11 |
DayOfWeek | 6 |
Trait Implementations§
Source§impl<E: Ord> Ord for Step<E>
impl<E: Ord> Ord for Step<E>
Source§impl<E: PartialOrd> PartialOrd for Step<E>
impl<E: PartialOrd> PartialOrd for Step<E>
impl<E: Copy> Copy for Step<E>
impl<E: Eq> Eq for Step<E>
impl<E> StructuralPartialEq for Step<E>
Auto Trait Implementations§
impl<E> Freeze for Step<E>
impl<E> RefUnwindSafe for Step<E>
impl<E> Send for Step<E>
impl<E> Sync for Step<E>
impl<E> Unpin for Step<E>
impl<E> UnwindSafe for Step<E>
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