pub struct SyncTolerance {
pub max_drift_frames: u32,
pub min_pass_rate: f32,
}Expand description
Tolerance settings for sync verification.
Fields§
§max_drift_frames: u32Maximum allowed frame drift (inclusive).
min_pass_rate: f32Minimum fraction of sync points that must pass.
Implementations§
Source§impl SyncTolerance
impl SyncTolerance
Trait Implementations§
Source§impl Clone for SyncTolerance
impl Clone for SyncTolerance
Source§fn clone(&self) -> SyncTolerance
fn clone(&self) -> SyncTolerance
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SyncTolerance
impl Debug for SyncTolerance
Source§impl Default for SyncTolerance
impl Default for SyncTolerance
impl Copy for SyncTolerance
Auto Trait Implementations§
impl Freeze for SyncTolerance
impl RefUnwindSafe for SyncTolerance
impl Send for SyncTolerance
impl Sync for SyncTolerance
impl Unpin for SyncTolerance
impl UnsafeUnpin for SyncTolerance
impl UnwindSafe for SyncTolerance
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