pub struct MediaDeviceInfo { /* private fields */ }
Expand description

Describes a single media input or output device

Call enumerate_devices to obtain a list of devices for your hardware.

Implementations

Identifier for the represented device

The current implementation is not stable across sessions so you should not persist this value

Two devices have the same group identifier if they belong to the same physical device

Enumerated value that is either “videoinput”, “audioinput” or “audiooutput”.

Friendly label describing this device

Trait Implementations

Formats the value using the given formatter. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.