[][src]Enum oboe::AudioDeviceDirection

#[repr(i32)]pub enum AudioDeviceDirection {
    Input,
    Output,
    InputOutput,
}

The direction of audio device

Variants

Input
Output
InputOutput

Implementations

impl AudioDeviceDirection[src]

pub fn new(is_input: bool, is_output: bool) -> Option<Self>[src]

pub fn is_input(&self) -> bool[src]

pub fn is_output(&self) -> bool[src]

Trait Implementations

impl Clone for AudioDeviceDirection[src]

impl Copy for AudioDeviceDirection[src]

impl Debug for AudioDeviceDirection[src]

impl Eq for AudioDeviceDirection[src]

impl Hash for AudioDeviceDirection[src]

impl PartialEq<AudioDeviceDirection> for AudioDeviceDirection[src]

impl StructuralEq for AudioDeviceDirection[src]

impl StructuralPartialEq for AudioDeviceDirection[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<'a, T> Desc<'a, T> for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.