Struct cpal::InputCallbackInfo
source · pub struct InputCallbackInfo { /* private fields */ }
Expand description
Information relevant to a single call to the user’s input stream data callback.
Implementations§
source§impl InputCallbackInfo
impl InputCallbackInfo
sourcepub fn timestamp(&self) -> InputStreamTimestamp
pub fn timestamp(&self) -> InputStreamTimestamp
The timestamp associated with the call to an input stream’s data callback.
Trait Implementations§
source§impl Clone for InputCallbackInfo
impl Clone for InputCallbackInfo
source§fn clone(&self) -> InputCallbackInfo
fn clone(&self) -> InputCallbackInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InputCallbackInfo
impl Debug for InputCallbackInfo
source§impl PartialEq<InputCallbackInfo> for InputCallbackInfo
impl PartialEq<InputCallbackInfo> for InputCallbackInfo
source§fn eq(&self, other: &InputCallbackInfo) -> bool
fn eq(&self, other: &InputCallbackInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.