#[repr(transparent)]pub struct OH_AudioStream_State(pub c_int);Expand description
The audio stream states
Available since API-level: 10
Tuple Fields§
§0: c_intImplementations§
Source§impl OH_AudioStream_State
impl OH_AudioStream_State
Sourcepub const AUDIOSTREAM_STATE_INVALID: OH_AudioStream_State
pub const AUDIOSTREAM_STATE_INVALID: OH_AudioStream_State
The invalid state.
Available since API-level: 10
Sourcepub const AUDIOSTREAM_STATE_NEW: OH_AudioStream_State
pub const AUDIOSTREAM_STATE_NEW: OH_AudioStream_State
Create new instance state.
Available since API-level: 10
Sourcepub const AUDIOSTREAM_STATE_PREPARED: OH_AudioStream_State
pub const AUDIOSTREAM_STATE_PREPARED: OH_AudioStream_State
The prepared state.
Available since API-level: 10
Sourcepub const AUDIOSTREAM_STATE_RUNNING: OH_AudioStream_State
pub const AUDIOSTREAM_STATE_RUNNING: OH_AudioStream_State
The stream is running.
Available since API-level: 10
Sourcepub const AUDIOSTREAM_STATE_STOPPED: OH_AudioStream_State
pub const AUDIOSTREAM_STATE_STOPPED: OH_AudioStream_State
The stream is stopped.
Available since API-level: 10
Sourcepub const AUDIOSTREAM_STATE_RELEASED: OH_AudioStream_State
pub const AUDIOSTREAM_STATE_RELEASED: OH_AudioStream_State
The stream is released.
Available since API-level: 10
Sourcepub const AUDIOSTREAM_STATE_PAUSED: OH_AudioStream_State
pub const AUDIOSTREAM_STATE_PAUSED: OH_AudioStream_State
The stream is paused.
Available since API-level: 10
Trait Implementations§
Source§impl Clone for OH_AudioStream_State
impl Clone for OH_AudioStream_State
Source§fn clone(&self) -> OH_AudioStream_State
fn clone(&self) -> OH_AudioStream_State
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_AudioStream_State
impl Debug for OH_AudioStream_State
Source§impl Hash for OH_AudioStream_State
impl Hash for OH_AudioStream_State
Source§impl PartialEq for OH_AudioStream_State
impl PartialEq for OH_AudioStream_State
Source§fn eq(&self, other: &OH_AudioStream_State) -> bool
fn eq(&self, other: &OH_AudioStream_State) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OH_AudioStream_State
impl Eq for OH_AudioStream_State
impl StructuralPartialEq for OH_AudioStream_State
Auto Trait Implementations§
impl Freeze for OH_AudioStream_State
impl RefUnwindSafe for OH_AudioStream_State
impl Send for OH_AudioStream_State
impl Sync for OH_AudioStream_State
impl Unpin for OH_AudioStream_State
impl UnsafeUnpin for OH_AudioStream_State
impl UnwindSafe for OH_AudioStream_State
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