struct ParsedDevice {
label: String,
explicit_default: bool,
channels: u8,
sample_rate_hz: u32,
native_id: String,
}Expand description
Per-device intermediate parse result. explicit_default carries
only the is-default = true signal at first; the fallback
“first-listed” rule is applied in parse_device_monitor_output
after every block has been parsed.
Fields§
§label: String§explicit_default: bool§channels: u8§sample_rate_hz: u32§native_id: StringAuto Trait Implementations§
impl Freeze for ParsedDevice
impl RefUnwindSafe for ParsedDevice
impl Send for ParsedDevice
impl Sync for ParsedDevice
impl Unpin for ParsedDevice
impl UnsafeUnpin for ParsedDevice
impl UnwindSafe for ParsedDevice
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