pub struct Echo {
pub sample_idx: usize,
pub rtt: f64,
pub distance: f64,
pub amplitude: f64,
pub confidence: f64,
}Expand description
A detected echo with timing and amplitude.
Fields§
§sample_idx: usizeSample index where echo was detected.
rtt: f64Round-trip time in seconds.
distance: f64Estimated distance in meters.
amplitude: f64Signal amplitude (0.0–1.0).
confidence: f64Confidence of detection.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Echo
impl RefUnwindSafe for Echo
impl Send for Echo
impl Sync for Echo
impl Unpin for Echo
impl UnsafeUnpin for Echo
impl UnwindSafe for Echo
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