#[repr(C)]pub struct OH_AudioSession_DeactivatedEvent {
pub reason: OH_AudioSession_DeactivatedReason,
}Available on crate feature
api-12 only.Expand description
declare the audio session deactivated event
Available since API-level: 12
Fields§
§reason: OH_AudioSession_DeactivatedReasonaudio session deactivated reason
Trait Implementations§
Source§impl Clone for OH_AudioSession_DeactivatedEvent
impl Clone for OH_AudioSession_DeactivatedEvent
Source§fn clone(&self) -> OH_AudioSession_DeactivatedEvent
fn clone(&self) -> OH_AudioSession_DeactivatedEvent
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 moreimpl Copy for OH_AudioSession_DeactivatedEvent
Auto Trait Implementations§
impl Freeze for OH_AudioSession_DeactivatedEvent
impl RefUnwindSafe for OH_AudioSession_DeactivatedEvent
impl Send for OH_AudioSession_DeactivatedEvent
impl Sync for OH_AudioSession_DeactivatedEvent
impl Unpin for OH_AudioSession_DeactivatedEvent
impl UnsafeUnpin for OH_AudioSession_DeactivatedEvent
impl UnwindSafe for OH_AudioSession_DeactivatedEvent
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