pub enum SoftHrtfStatus {
Disabled,
Enabled,
Denied,
Required,
HeadphonesDetected,
UnsupportedFormat,
Unknown(ALCint),
}
Expand description
The current HRTF mode of a device.
Requires ALC_SOFT_HRTF
Variants§
Disabled
ALC_HRTF_DISABLED_SOFT
Enabled
ALC_HRTF_ENABLED_SOFT
Denied
ALC_HRTF_DENIED_SOFT
Required
ALC_HRTF_REQUIRED_SOFT
HeadphonesDetected
ALC_HRTF_HEADPHONES_DETECTED_SOFT
UnsupportedFormat
ALC_HRTF_UNSUPPORTED_FORMAT_SOFT
Unknown(ALCint)
Trait Implementations§
Source§impl Clone for SoftHrtfStatus
impl Clone for SoftHrtfStatus
Source§fn clone(&self) -> SoftHrtfStatus
fn clone(&self) -> SoftHrtfStatus
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SoftHrtfStatus
impl Debug for SoftHrtfStatus
Source§impl PartialEq for SoftHrtfStatus
impl PartialEq for SoftHrtfStatus
impl Copy for SoftHrtfStatus
impl Eq for SoftHrtfStatus
impl StructuralPartialEq for SoftHrtfStatus
Auto Trait Implementations§
impl Freeze for SoftHrtfStatus
impl RefUnwindSafe for SoftHrtfStatus
impl Send for SoftHrtfStatus
impl Sync for SoftHrtfStatus
impl Unpin for SoftHrtfStatus
impl UnwindSafe for SoftHrtfStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)