[][src]Struct portaudio_rs::hostapi::HostApiInfo

pub struct HostApiInfo {
    pub api_type: HostApiType,
    pub name: String,
    pub device_count: u32,
    pub default_input: Option<u32>,
    pub default_output: Option<u32>,
}

Information about a specific host API

Fields

api_type: HostApiType

The type of the API

name: String

Human-readable name of the API

device_count: u32

Number of devices this API has

default_input: Option<u32>

Default input device of the API. Is None if there is no input device available.

default_output: Option<u32>

Default output device of the API. Is None if there is no output device available.

Auto Trait Implementations

impl RefUnwindSafe for HostApiInfo

impl Send for HostApiInfo

impl Sync for HostApiInfo

impl Unpin for HostApiInfo

impl UnwindSafe for HostApiInfo

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.