[][src]Struct cpal::OutputStreamTimestamp

pub struct OutputStreamTimestamp {
    pub callback: StreamInstant,
    pub playback: StreamInstant,
}

A timestamp associated with a call to an output stream's data callback.

Fields

callback: StreamInstant

The instant the stream's data callback was invoked.

playback: StreamInstant

The predicted instant that data written will be delivered to the device for playback.

E.g. The instant data will be played by a DAC.

Trait Implementations

impl Clone for OutputStreamTimestamp[src]

impl Copy for OutputStreamTimestamp[src]

impl Debug for OutputStreamTimestamp[src]

impl Eq for OutputStreamTimestamp[src]

impl Hash for OutputStreamTimestamp[src]

impl PartialEq<OutputStreamTimestamp> for OutputStreamTimestamp[src]

impl StructuralEq for OutputStreamTimestamp[src]

impl StructuralPartialEq for OutputStreamTimestamp[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.