pub struct Device(/* private fields */);Expand description
Representation of an Audio device.
Implementations§
source§impl Device
impl Device
sourcepub fn open_default() -> Self
pub fn open_default() -> Self
Acquires and returns context to the builtin/default device.
sourcepub fn has_extension(&self, name: &CStr) -> bool
pub fn has_extension(&self, name: &CStr) -> bool
Queries whether OpenAL supports a device-specific extension
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Device
impl RefUnwindSafe for Device
impl !Send for Device
impl !Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more