#[repr(transparent)]pub struct OH_AudioDevice_Flag(pub c_uint);Available on crate feature
api-12 only.Expand description
Defines the audio device flag.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl OH_AudioDevice_Flag
impl OH_AudioDevice_Flag
Sourcepub const AUDIO_DEVICE_FLAG_NONE: OH_AudioDevice_Flag
pub const AUDIO_DEVICE_FLAG_NONE: OH_AudioDevice_Flag
None device.
Sourcepub const AUDIO_DEVICE_FLAG_OUTPUT: OH_AudioDevice_Flag
pub const AUDIO_DEVICE_FLAG_OUTPUT: OH_AudioDevice_Flag
Output device.
Sourcepub const AUDIO_DEVICE_FLAG_INPUT: OH_AudioDevice_Flag
pub const AUDIO_DEVICE_FLAG_INPUT: OH_AudioDevice_Flag
Input device.
Sourcepub const AUDIO_DEVICE_FLAG_ALL: OH_AudioDevice_Flag
pub const AUDIO_DEVICE_FLAG_ALL: OH_AudioDevice_Flag
All device.
Trait Implementations§
Source§impl Clone for OH_AudioDevice_Flag
impl Clone for OH_AudioDevice_Flag
Source§fn clone(&self) -> OH_AudioDevice_Flag
fn clone(&self) -> OH_AudioDevice_Flag
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OH_AudioDevice_Flag
impl Debug for OH_AudioDevice_Flag
Source§impl Hash for OH_AudioDevice_Flag
impl Hash for OH_AudioDevice_Flag
Source§impl PartialEq for OH_AudioDevice_Flag
impl PartialEq for OH_AudioDevice_Flag
Source§fn eq(&self, other: &OH_AudioDevice_Flag) -> bool
fn eq(&self, other: &OH_AudioDevice_Flag) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OH_AudioDevice_Flag
impl Eq for OH_AudioDevice_Flag
impl StructuralPartialEq for OH_AudioDevice_Flag
Auto Trait Implementations§
impl Freeze for OH_AudioDevice_Flag
impl RefUnwindSafe for OH_AudioDevice_Flag
impl Send for OH_AudioDevice_Flag
impl Sync for OH_AudioDevice_Flag
impl Unpin for OH_AudioDevice_Flag
impl UnsafeUnpin for OH_AudioDevice_Flag
impl UnwindSafe for OH_AudioDevice_Flag
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