pub struct AudioInfoV2 {
pub streams: [AudioStream; 5],
pub input: AudioInputInfo,
pub modified_counters: Option<HashMap<AudioStreamType, usize>>,
}
Expand description
The following struct should never be modified. It represents an old version of the audio settings.
Fields§
§streams: [AudioStream; 5]
§input: AudioInputInfo
§modified_counters: Option<HashMap<AudioStreamType, usize>>
Trait Implementations§
Source§impl Clone for AudioInfoV2
impl Clone for AudioInfoV2
Source§fn clone(&self) -> AudioInfoV2
fn clone(&self) -> AudioInfoV2
Returns a copy of the value. Read more
1.0.0 · 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 AudioInfoV2
impl Debug for AudioInfoV2
Source§impl<'de> Deserialize<'de> for AudioInfoV2
impl<'de> Deserialize<'de> for AudioInfoV2
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<AudioInfoV1> for AudioInfoV2
impl From<AudioInfoV1> for AudioInfoV2
Source§fn from(v1: AudioInfoV1) -> Self
fn from(v1: AudioInfoV1) -> Self
Converts to this type from the input type.
Source§impl From<AudioInfoV2> for AudioInfo
impl From<AudioInfoV2> for AudioInfo
Source§fn from(v2: AudioInfoV2) -> AudioInfo
fn from(v2: AudioInfoV2) -> AudioInfo
Converts to this type from the input type.
Source§impl PartialEq for AudioInfoV2
impl PartialEq for AudioInfoV2
Source§impl Serialize for AudioInfoV2
impl Serialize for AudioInfoV2
impl StructuralPartialEq for AudioInfoV2
Auto Trait Implementations§
impl Freeze for AudioInfoV2
impl RefUnwindSafe for AudioInfoV2
impl Send for AudioInfoV2
impl Sync for AudioInfoV2
impl Unpin for AudioInfoV2
impl UnwindSafe for AudioInfoV2
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)