pub struct SpeakerHeuristicCallback(/* private fields */);Implementations§
Source§impl SpeakerHeuristicCallback
impl SpeakerHeuristicCallback
pub fn new<F>(callback: F) -> Self
pub fn evaluate( &self, words: &[WordOverlap], segments: &[SpeakerSegment], ) -> Vec<Option<SpeakerId>>
Trait Implementations§
Source§impl Clone for SpeakerHeuristicCallback
impl Clone for SpeakerHeuristicCallback
Source§fn clone(&self) -> SpeakerHeuristicCallback
fn clone(&self) -> SpeakerHeuristicCallback
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for SpeakerHeuristicCallback
impl !UnwindSafe for SpeakerHeuristicCallback
impl Freeze for SpeakerHeuristicCallback
impl Send for SpeakerHeuristicCallback
impl Sync for SpeakerHeuristicCallback
impl Unpin for SpeakerHeuristicCallback
impl UnsafeUnpin for SpeakerHeuristicCallback
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