pub struct TimecodeAggregator { /* private fields */ }Expand description
Multi-source timecode aggregator
Implementations§
Source§impl TimecodeAggregator
impl TimecodeAggregator
Sourcepub fn new(strategy: VotingStrategy) -> Self
pub fn new(strategy: VotingStrategy) -> Self
Create a new aggregator
Sourcepub fn add_source(&mut self, name: String, timecode: Timecode, confidence: f32)
pub fn add_source(&mut self, name: String, timecode: Timecode, confidence: f32)
Add a timecode source
Sourcepub fn clear_sources(&mut self)
pub fn clear_sources(&mut self)
Clear all sources
Auto Trait Implementations§
impl Freeze for TimecodeAggregator
impl RefUnwindSafe for TimecodeAggregator
impl Send for TimecodeAggregator
impl Sync for TimecodeAggregator
impl Unpin for TimecodeAggregator
impl UnsafeUnpin for TimecodeAggregator
impl UnwindSafe for TimecodeAggregator
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