pub struct AudioDevice {
pub name: String,
pub is_default: bool,
}
Fields§
§name: String
§is_default: bool
Trait Implementations§
Source§impl Debug for AudioDevice
impl Debug for AudioDevice
Source§impl<'de> Deserialize<'de> for AudioDevice
impl<'de> Deserialize<'de> for AudioDevice
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
Auto Trait Implementations§
impl Freeze for AudioDevice
impl RefUnwindSafe for AudioDevice
impl Send for AudioDevice
impl Sync for AudioDevice
impl Unpin for AudioDevice
impl UnwindSafe for AudioDevice
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