#[repr(C)]
pub struct cubeb_device_info {
Show 16 fields pub devid: *const c_void, pub device_id: *const i8, pub friendly_name: *const i8, pub group_id: *const i8, pub vendor_name: *const i8, pub device_type: u32, pub state: u32, pub preferred: u32, pub format: u32, pub default_format: u32, pub max_channels: u32, pub default_rate: u32, pub max_rate: u32, pub min_rate: u32, pub latency_lo: u32, pub latency_hi: u32,
}

Fields

devid: *const c_voiddevice_id: *const i8friendly_name: *const i8group_id: *const i8vendor_name: *const i8device_type: u32state: u32preferred: u32format: u32default_format: u32max_channels: u32default_rate: u32max_rate: u32min_rate: u32latency_lo: u32latency_hi: u32

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Converts to this type from the input type.

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.