#[non_exhaustive]pub enum BoundaryKind {
Show 32 variants
Sod,
Eod,
Sow,
Eow,
Soww,
Eoww,
Som,
Eom,
Soq,
Eoq,
Soy,
Eoy,
Sopd,
Eopd,
Sopw,
Eopw,
Sopm,
Eopm,
Sopq,
Eopq,
Sopy,
Eopy,
Sond,
Eond,
Sonw,
Eonw,
Sonm,
Eonm,
Sonq,
Eonq,
Sony,
Eony,
}Expand description
Boundary keywords for period start/end.
Current period (so/eo = start-of / end-of), previous period (sop/eop), and next period (son/eon).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Sod
Eod
Sow
Eow
Soww
Eoww
Som
Eom
Soq
Eoq
Soy
Eoy
Sopd
Eopd
Sopw
Eopw
Sopm
Eopm
Sopq
Eopq
Sopy
Eopy
Sond
Eond
Sonw
Eonw
Sonm
Eonm
Sonq
Eonq
Sony
Eony
Trait Implementations§
Source§impl Clone for BoundaryKind
impl Clone for BoundaryKind
Source§fn clone(&self) -> BoundaryKind
fn clone(&self) -> BoundaryKind
Returns a duplicate 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 BoundaryKind
impl Debug for BoundaryKind
Source§impl PartialEq for BoundaryKind
impl PartialEq for BoundaryKind
impl Copy for BoundaryKind
impl Eq for BoundaryKind
impl StructuralPartialEq for BoundaryKind
Auto Trait Implementations§
impl Freeze for BoundaryKind
impl RefUnwindSafe for BoundaryKind
impl Send for BoundaryKind
impl Sync for BoundaryKind
impl Unpin for BoundaryKind
impl UnsafeUnpin for BoundaryKind
impl UnwindSafe for BoundaryKind
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