[−][src]Enum soundio::Backend
Backend indicates one of the supported audio backends.
Linux supports Also, and optionally PulseAudio, and JACK.
Windows supports Wasapi, and MacOS supports CoreAudio. All platforms support the Dummy backend.
The Backend type supports the Display
trait, so you can use it in println!()
.
The only use for Backend::None
is that it is returned from Context::current_backend()
if the Context
isn't connected.
Examples
println!("The name of PulseAudio is {}", soundio::Backend::PulseAudio);
Variants
Trait Implementations
impl Clone for Backend
[src]
impl Copy for Backend
[src]
impl Debug for Backend
[src]
impl Display for Backend
[src]
impl Eq for Backend
[src]
impl From<Backend> for SoundIoBackend
[src]
fn from(backend: Backend) -> SoundIoBackend
[src]
impl From<SoundIoBackend> for Backend
[src]
fn from(backend: SoundIoBackend) -> Backend
[src]
impl PartialEq<Backend> for Backend
[src]
impl StructuralEq for Backend
[src]
impl StructuralPartialEq for Backend
[src]
Auto Trait Implementations
impl RefUnwindSafe for Backend
impl Send for Backend
impl Sync for Backend
impl Unpin for Backend
impl UnwindSafe for Backend
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,