#[non_exhaustive]pub enum PeriodKind {
Regular,
EarlyTerminated,
EarlyAvailable,
}Expand description
5.3.2.1 Period kind.
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.
Regular
Ends where the next Period starts (or the presentation ends).
EarlyTerminated
Ends after its own @duration.
EarlyAvailable
Announced before it has a PeriodStart; not part of the presentation.
Implementations§
Trait Implementations§
Source§impl Clone for PeriodKind
impl Clone for PeriodKind
impl Copy for PeriodKind
Source§impl Debug for PeriodKind
impl Debug for PeriodKind
Source§impl Display for PeriodKind
impl Display for PeriodKind
impl Eq for PeriodKind
Source§impl PartialEq for PeriodKind
impl PartialEq for PeriodKind
impl StructuralPartialEq for PeriodKind
Auto Trait Implementations§
impl Forget for PeriodKind
impl Freeze for PeriodKind
impl Move for PeriodKind
impl RefUnwindSafe for PeriodKind
impl Send for PeriodKind
impl Sync for PeriodKind
impl Unpin for PeriodKind
impl UnsafeUnpin for PeriodKind
impl UnwindSafe for PeriodKind
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