#[non_exhaustive]pub struct TimelineEntry {
pub t: Option<u64>,
pub n: Option<u64>,
pub d: u64,
pub r: i64,
pub k: Option<u64>,
}Expand description
One S of a SegmentTimeline (Table 22).
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.t: Option<u64>@t.
n: Option<u64>@n.
d: u64@d.
r: i64@r (negative: until the next S@t or the Period end).
k: Option<u64>@k.
Implementations§
Source§impl TimelineEntry
impl TimelineEntry
Sourcepub fn new(d: u64) -> TimelineEntry
pub fn new(d: u64) -> TimelineEntry
An entry with only d set (t, n, k absent, r 0).
Trait Implementations§
Source§impl Clone for TimelineEntry
impl Clone for TimelineEntry
Source§fn clone(&self) -> TimelineEntry
fn clone(&self) -> TimelineEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TimelineEntry
Source§impl Debug for TimelineEntry
impl Debug for TimelineEntry
impl Eq for TimelineEntry
Source§impl PartialEq for TimelineEntry
impl PartialEq for TimelineEntry
impl StructuralPartialEq for TimelineEntry
Auto Trait Implementations§
impl Forget for TimelineEntry
impl Freeze for TimelineEntry
impl Move for TimelineEntry
impl RefUnwindSafe for TimelineEntry
impl Send for TimelineEntry
impl Sync for TimelineEntry
impl Unpin for TimelineEntry
impl UnsafeUnpin for TimelineEntry
impl UnwindSafe for TimelineEntry
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