pub struct Recognition {
pub time: f32,
pub frame: usize,
pub committed: bool,
}Expand description
A cheap, early record that an event has been recognized.
A recognition is available from the moment a candidate is armed — before the full event payload exists. This is what lets other analysis nodes ask whether an event happened recently even when it is still in flight.
Fields§
§time: f32§frame: usize§committed: boolfalse while the candidate is still speculative (it may yet be
discarded rather than finalized); true once it is certain to emit.
Implementations§
Source§impl Recognition
impl Recognition
Trait Implementations§
Source§impl Clone for Recognition
impl Clone for Recognition
impl Copy for Recognition
Source§impl Debug for Recognition
impl Debug for Recognition
Source§impl PartialEq for Recognition
impl PartialEq for Recognition
impl StructuralPartialEq for Recognition
Auto Trait Implementations§
impl Freeze for Recognition
impl RefUnwindSafe for Recognition
impl Send for Recognition
impl Sync for Recognition
impl Unpin for Recognition
impl UnsafeUnpin for Recognition
impl UnwindSafe for Recognition
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