#[repr(transparent)]pub struct OH_AudioDevice_BlockStatus(pub c_uint);Available on crate features
api-12 and api-13 only.Expand description
Declaring the audio device blocked status. By default, the audio device is considered as unbloked.
Available since API-level: 13
Tuple Fields§
§0: c_uintImplementations§
Source§impl OH_AudioDevice_BlockStatus
impl OH_AudioDevice_BlockStatus
Sourcepub const AUDIO_DEVICE_UNBLOCKED: OH_AudioDevice_BlockStatus
pub const AUDIO_DEVICE_UNBLOCKED: OH_AudioDevice_BlockStatus
Audio device is unblocked.
Available since API-level: 13
Sourcepub const AUDIO_DEVICE_BLOCKED: OH_AudioDevice_BlockStatus
pub const AUDIO_DEVICE_BLOCKED: OH_AudioDevice_BlockStatus
Audio Device is blocked.
Available since API-level: 13
Trait Implementations§
Source§impl Clone for OH_AudioDevice_BlockStatus
impl Clone for OH_AudioDevice_BlockStatus
Source§fn clone(&self) -> OH_AudioDevice_BlockStatus
fn clone(&self) -> OH_AudioDevice_BlockStatus
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_BlockStatus
impl Debug for OH_AudioDevice_BlockStatus
Source§impl Hash for OH_AudioDevice_BlockStatus
impl Hash for OH_AudioDevice_BlockStatus
Source§impl PartialEq for OH_AudioDevice_BlockStatus
impl PartialEq for OH_AudioDevice_BlockStatus
Source§fn eq(&self, other: &OH_AudioDevice_BlockStatus) -> bool
fn eq(&self, other: &OH_AudioDevice_BlockStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OH_AudioDevice_BlockStatus
impl Eq for OH_AudioDevice_BlockStatus
impl StructuralPartialEq for OH_AudioDevice_BlockStatus
Auto Trait Implementations§
impl Freeze for OH_AudioDevice_BlockStatus
impl RefUnwindSafe for OH_AudioDevice_BlockStatus
impl Send for OH_AudioDevice_BlockStatus
impl Sync for OH_AudioDevice_BlockStatus
impl Unpin for OH_AudioDevice_BlockStatus
impl UnsafeUnpin for OH_AudioDevice_BlockStatus
impl UnwindSafe for OH_AudioDevice_BlockStatus
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