pub struct SyncPoint {
pub proxy_tc: FrameTimecode,
pub original_tc: FrameTimecode,
pub verified: bool,
}Expand description
A sync point linking a proxy frame to an original frame.
Fields§
§proxy_tc: FrameTimecodeTimecode in the proxy media.
original_tc: FrameTimecodeCorresponding timecode in the original media.
verified: boolWhether this sync point was verified by checksum comparison.
Implementations§
Source§impl SyncPoint
impl SyncPoint
Sourcepub fn new(proxy_tc: FrameTimecode, original_tc: FrameTimecode) -> Self
pub fn new(proxy_tc: FrameTimecode, original_tc: FrameTimecode) -> Self
Create a new sync point.
Sourcepub fn frame_offset(&self) -> i64
pub fn frame_offset(&self) -> i64
Frame offset between proxy and original (in proxy frames).
Trait Implementations§
impl Eq for SyncPoint
impl StructuralPartialEq for SyncPoint
Auto Trait Implementations§
impl Freeze for SyncPoint
impl RefUnwindSafe for SyncPoint
impl Send for SyncPoint
impl Sync for SyncPoint
impl Unpin for SyncPoint
impl UnsafeUnpin for SyncPoint
impl UnwindSafe for SyncPoint
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more