pub enum OrdinalPattern {
Odd,
All,
}
Expand description
The pattern to use when advancing ordinals.
Variants§
Odd
Odd ordinal pattern starts at 1 and moves in increments of 2: [1,3,5..]
All
All ordinal pattern starts at 1 and moves in increments of 1: [1,2,3..]
Trait Implementations§
Source§impl Clone for OrdinalPattern
impl Clone for OrdinalPattern
Source§fn clone(&self) -> OrdinalPattern
fn clone(&self) -> OrdinalPattern
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OrdinalPattern
impl Debug for OrdinalPattern
Source§impl IntoIterator for OrdinalPattern
impl IntoIterator for OrdinalPattern
impl Copy for OrdinalPattern
Auto Trait Implementations§
impl Freeze for OrdinalPattern
impl RefUnwindSafe for OrdinalPattern
impl Send for OrdinalPattern
impl Sync for OrdinalPattern
impl Unpin for OrdinalPattern
impl UnwindSafe for OrdinalPattern
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)