pub enum NptTime {
Now,
Seconds(u64, Option<u32>),
Hms(u64, u8, u8, Option<u32>),
}Expand description
Normal Play Time (RFC 7826 section 4.4.2).
Variants§
Now
Now.
Seconds(u64, Option<u32>)
Seconds and nanoseconds.
Hms(u64, u8, u8, Option<u32>)
Hours, minutes, seconds and nanoseconds.
Trait Implementations§
impl Copy for NptTime
impl Eq for NptTime
Source§impl Ord for NptTime
impl Ord for NptTime
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for NptTime
impl PartialOrd for NptTime
impl StructuralPartialEq for NptTime
Auto Trait Implementations§
impl Freeze for NptTime
impl RefUnwindSafe for NptTime
impl Send for NptTime
impl Sync for NptTime
impl Unpin for NptTime
impl UnsafeUnpin for NptTime
impl UnwindSafe for NptTime
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