Struct nannou_audio::device::Device[][src]

pub struct Device { /* fields omitted */ }
Expand description

A device that can be used to spawn an audio stream.

Implementations

The unique name associated with this device.

An iterator yielding formats that are supported by the backend.

Can return an error if the device is no longer valid (e.g. it has been disconnected).

An iterator yielding configs that are supported by the backend.

Can return an error if the device is no longer valid (e.g. it has been disconnected).

The default config used for input streams.

The default config used for output streams.

The maximum number of output channels of any format supported by this device.

The maximum number of input channels of any format supported by this device.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

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.