Struct cpal::InputStreamTimestamp
source · [−]pub struct InputStreamTimestamp {
pub callback: StreamInstant,
pub capture: StreamInstant,
}
Expand description
A timestamp associated with a call to an input stream’s data callback.
Fields
callback: StreamInstant
The instant the stream’s data callback was invoked.
capture: StreamInstant
The instant that data was captured from the device.
E.g. The instant data was read from an ADC.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for InputStreamTimestamp
impl Send for InputStreamTimestamp
impl Sync for InputStreamTimestamp
impl Unpin for InputStreamTimestamp
impl UnwindSafe for InputStreamTimestamp
Blanket Implementations
Mutably borrows from an owned value. Read more