#[non_exhaustive]pub struct PeriodTiming {
pub start_us: Option<i128>,
pub end_us: Option<i128>,
pub kind: PeriodKind,
}Expand description
A Period’s place on the presentation timeline.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.start_us: Option<i128>PeriodStart in microseconds from the presentation start; None until
one can be derived.
end_us: Option<i128>The Period end in the same domain, when known.
kind: PeriodKindThe kind.
Trait Implementations§
Source§impl Clone for PeriodTiming
impl Clone for PeriodTiming
impl Copy for PeriodTiming
Source§impl Debug for PeriodTiming
impl Debug for PeriodTiming
impl Eq for PeriodTiming
Source§impl PartialEq for PeriodTiming
impl PartialEq for PeriodTiming
impl StructuralPartialEq for PeriodTiming
Auto Trait Implementations§
impl Freeze for PeriodTiming
impl RefUnwindSafe for PeriodTiming
impl Send for PeriodTiming
impl Sync for PeriodTiming
impl Unpin for PeriodTiming
impl UnsafeUnpin for PeriodTiming
impl UnwindSafe for PeriodTiming
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