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 for InputCallbackInfo
impl PartialEq 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 ==
.impl Eq for InputCallbackInfo
impl StructuralEq for InputCallbackInfo
impl StructuralPartialEq for InputCallbackInfo
Auto Trait Implementations§
impl RefUnwindSafe for InputCallbackInfo
impl Send for InputCallbackInfo
impl Sync for InputCallbackInfo
impl Unpin for InputCallbackInfo
impl UnwindSafe for InputCallbackInfo
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