pub struct AudioInfo {
pub streams: [AudioStream; 6],
pub modified_counters: Option<HashMap<AudioStreamType, usize>>,
}
Fields§
§streams: [AudioStream; 6]
§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<AudioInfoV3> for AudioInfo
impl From<AudioInfoV3> for AudioInfo
Source§fn from(v3: AudioInfoV3) -> AudioInfo
fn from(v3: AudioInfoV3) -> 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,
§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.Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> IntoAny for T
impl<T> IntoAny for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more