Struct creek_core::read::ReadData[][src]

pub struct ReadData<'a, T: Copy + Clone + Default + Send> { /* fields omitted */ }
Expand description

The sample data returned by a ReadClient.

Implementations

Read a single channel of samples.

Use ReadData::num_channels() to get the number of available channels.

The length of this data will be equal to ReadData::num_frames().

Return the number of channels in this data.

Return the number of samples in a single channel of data.

This returns (true) if the last frame in this data is the end of the file, (false) otherwise.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.