[][src]Struct cubeb_sys::cubeb_device_info

#[repr(C)]pub struct cubeb_device_info {
    pub devid: cubeb_devid,
    pub device_id: *const c_char,
    pub friendly_name: *const c_char,
    pub group_id: *const c_char,
    pub vendor_name: *const c_char,
    pub device_type: cubeb_device_type,
    pub state: cubeb_device_state,
    pub preferred: cubeb_device_pref,
    pub format: cubeb_device_fmt,
    pub default_format: cubeb_device_fmt,
    pub max_channels: c_uint,
    pub default_rate: c_uint,
    pub max_rate: c_uint,
    pub min_rate: c_uint,
    pub latency_lo: c_uint,
    pub latency_hi: c_uint,
}

Fields

devid: cubeb_deviddevice_id: *const c_charfriendly_name: *const c_chargroup_id: *const c_charvendor_name: *const c_chardevice_type: cubeb_device_typestate: cubeb_device_statepreferred: cubeb_device_prefformat: cubeb_device_fmtdefault_format: cubeb_device_fmtmax_channels: c_uintdefault_rate: c_uintmax_rate: c_uintmin_rate: c_uintlatency_lo: c_uintlatency_hi: c_uint

Trait Implementations

impl Debug for cubeb_device_info[src]

impl Default for cubeb_device_info[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, 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.