#[repr(C)]pub struct AuditoryEvent {
pub class_hash: u64,
pub source_hash: u64,
pub confidence_u16: u16,
pub channel: u16,
pub start_frame: u64,
pub end_frame: u64,
pub track_id: u32,
pub flags: u32,
}Expand description
One acoustic event proposal (epistemic, not ground truth).
Fields§
§class_hash: u64§source_hash: u64§confidence_u16: u16§channel: u16§start_frame: u64§end_frame: u64§track_id: u32§flags: u32Implementations§
Source§impl AuditoryEvent
impl AuditoryEvent
pub const FLAG_REFERENCE_BACKEND: u32 = 1
pub const FLAG_LOW_ASSURANCE: u32 = 2
pub const FLAG_VAD: u32 = 4
Sourcepub fn confidence_f32(self) -> f32
pub fn confidence_f32(self) -> f32
Confidence as f32.
Trait Implementations§
Source§impl Clone for AuditoryEvent
impl Clone for AuditoryEvent
impl Copy for AuditoryEvent
Source§impl Debug for AuditoryEvent
impl Debug for AuditoryEvent
impl Eq for AuditoryEvent
Source§impl PartialEq for AuditoryEvent
impl PartialEq for AuditoryEvent
impl StructuralPartialEq for AuditoryEvent
Auto Trait Implementations§
impl Freeze for AuditoryEvent
impl RefUnwindSafe for AuditoryEvent
impl Send for AuditoryEvent
impl Sync for AuditoryEvent
impl Unpin for AuditoryEvent
impl UnsafeUnpin for AuditoryEvent
impl UnwindSafe for AuditoryEvent
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