#[repr(transparent)]pub struct OH_AudioSession_DeactivatedReason(pub c_uint);Available on crate feature
api-12 only.Expand description
Declare the audio deactivated reasons.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl OH_AudioSession_DeactivatedReason
impl OH_AudioSession_DeactivatedReason
Sourcepub const DEACTIVATED_LOWER_PRIORITY: OH_AudioSession_DeactivatedReason
pub const DEACTIVATED_LOWER_PRIORITY: OH_AudioSession_DeactivatedReason
deactivated because of lower priority
Sourcepub const DEACTIVATED_TIMEOUT: OH_AudioSession_DeactivatedReason
pub const DEACTIVATED_TIMEOUT: OH_AudioSession_DeactivatedReason
deactivated because of timing out
Trait Implementations§
Source§impl Clone for OH_AudioSession_DeactivatedReason
impl Clone for OH_AudioSession_DeactivatedReason
Source§fn clone(&self) -> OH_AudioSession_DeactivatedReason
fn clone(&self) -> OH_AudioSession_DeactivatedReason
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 PartialEq for OH_AudioSession_DeactivatedReason
impl PartialEq for OH_AudioSession_DeactivatedReason
Source§fn eq(&self, other: &OH_AudioSession_DeactivatedReason) -> bool
fn eq(&self, other: &OH_AudioSession_DeactivatedReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OH_AudioSession_DeactivatedReason
impl Eq for OH_AudioSession_DeactivatedReason
impl StructuralPartialEq for OH_AudioSession_DeactivatedReason
Auto Trait Implementations§
impl Freeze for OH_AudioSession_DeactivatedReason
impl RefUnwindSafe for OH_AudioSession_DeactivatedReason
impl Send for OH_AudioSession_DeactivatedReason
impl Sync for OH_AudioSession_DeactivatedReason
impl Unpin for OH_AudioSession_DeactivatedReason
impl UnsafeUnpin for OH_AudioSession_DeactivatedReason
impl UnwindSafe for OH_AudioSession_DeactivatedReason
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