#[non_exhaustive]pub struct TimelineSegment {
pub number: u64,
pub time: u64,
pub duration: u64,
}Expand description
One segment of a 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.number: u64$Number$.
time: u64Start on the media timeline in @timescale ticks ($Time$).
duration: u64Duration in ticks.
Trait Implementations§
Source§impl Clone for TimelineSegment
impl Clone for TimelineSegment
impl Copy for TimelineSegment
Source§impl Debug for TimelineSegment
impl Debug for TimelineSegment
impl Eq for TimelineSegment
Source§impl PartialEq for TimelineSegment
impl PartialEq for TimelineSegment
impl StructuralPartialEq for TimelineSegment
Auto Trait Implementations§
impl Forget for TimelineSegment
impl Freeze for TimelineSegment
impl RefUnwindSafe for TimelineSegment
impl Send for TimelineSegment
impl Sync for TimelineSegment
impl Unpin for TimelineSegment
impl UnsafeUnpin for TimelineSegment
impl UnwindSafe for TimelineSegment
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