Struct cpal::OutputCallbackInfo
source · pub struct OutputCallbackInfo { /* private fields */ }
Expand description
Information relevant to a single call to the user’s output stream data callback.
Implementations§
source§impl OutputCallbackInfo
impl OutputCallbackInfo
sourcepub fn timestamp(&self) -> OutputStreamTimestamp
pub fn timestamp(&self) -> OutputStreamTimestamp
The timestamp associated with the call to an output stream’s data callback.
Trait Implementations§
source§impl Clone for OutputCallbackInfo
impl Clone for OutputCallbackInfo
source§fn clone(&self) -> OutputCallbackInfo
fn clone(&self) -> OutputCallbackInfo
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 OutputCallbackInfo
impl Debug for OutputCallbackInfo
source§impl PartialEq for OutputCallbackInfo
impl PartialEq for OutputCallbackInfo
source§fn eq(&self, other: &OutputCallbackInfo) -> bool
fn eq(&self, other: &OutputCallbackInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for OutputCallbackInfo
impl StructuralEq for OutputCallbackInfo
impl StructuralPartialEq for OutputCallbackInfo
Auto Trait Implementations§
impl RefUnwindSafe for OutputCallbackInfo
impl Send for OutputCallbackInfo
impl Sync for OutputCallbackInfo
impl Unpin for OutputCallbackInfo
impl UnwindSafe for OutputCallbackInfo
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