pub struct AudioInfo {
pub streams: [AudioStream; 5],
pub modified_counters: Option<HashMap<AudioStreamType, usize>>,
}
Fields§
§streams: [AudioStream; 5]
§modified_counters: Option<HashMap<AudioStreamType, usize>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AudioInfo
impl<'de> Deserialize<'de> for AudioInfo
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<AudioInfo> for SettingInfo
impl From<AudioInfo> for SettingInfo
Source§fn from(audio: AudioInfo) -> SettingInfo
fn from(audio: AudioInfo) -> SettingInfo
Converts to this type from the input type.
Source§impl From<AudioInfo> for StorageInfo
impl From<AudioInfo> for StorageInfo
Source§fn from(info: AudioInfo) -> StorageInfo
fn from(info: AudioInfo) -> StorageInfo
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 TryFrom<SettingInfo> for AudioInfo
impl TryFrom<SettingInfo> for AudioInfo
impl StructuralPartialEq for AudioInfo
Auto Trait Implementations§
impl Freeze for AudioInfo
impl RefUnwindSafe for AudioInfo
impl Send for AudioInfo
impl Sync for AudioInfo
impl Unpin for AudioInfo
impl UnwindSafe for AudioInfo
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
)§impl<T> DeviceStorageConvertible for Twhere
T: DeviceStorageCompatible,
impl<T> DeviceStorageConvertible for Twhere
T: DeviceStorageCompatible,
§fn get_storable(&self) -> Cow<'_, <T as DeviceStorageConvertible>::Storable>
fn get_storable(&self) -> Cow<'_, <T as DeviceStorageConvertible>::Storable>
Convert
self
into its storable version.