fn input_devices(&self) -> Result<InputDevices<Self::Devices>, DevicesError> {
        fn supports_input<D: DeviceTrait>(device: &D) -> bool {
            device
                .supported_input_configs()
                .map(|mut iter| iter.next().is_some())
                .unwrap_or(false)
        }
        Ok(self.devices()?.filter(supports_input::<Self::Device>))
    }
/// An iterator yielding all `Device`s currently available to the system that support one or more
/// input stream formats.
///
/// Can be empty if the system does not support audio input.
An iterator yielding all `Device`s currently available to the system that support one or more
input stream formats.

Can be empty if the system does not support audio input.
An iterator yielding all ` Device ` s currently available to the system that support one or more input stream formats . Can be empty if the system does not support audio input .
fn input_devices(&self) -> Result<InputDevices<Self::Devices>, DevicesError> {
        fn supports_input<D: DeviceTrait>(device: &D) -> bool {
            device
                .supported_input_configs()
                .map(|mut iter| iter.next().is_some())
                .unwrap_or(false)
        }
        Ok(self.devices()?.filter(supports_input::<Self::Device>))
    }
fn input_devices ( & self ) -> Result < InputDevices < Self :: Devices > , DevicesError > { fn supports_input < D : DeviceTrait > ( device : & D ) -> bool { device . supported_input_configs ( ) . map ( | mut iter | iter . next ( ) . is_some ( ) ) . unwrap_or ( false ) } Ok ( self . devices ( ) ? . filter ( supports_input :: < Self :: Device > ) ) }
An iterator yielding all `Device`s currently available to the system that support one or more
input stream formats.
An iterator yielding all ` Device ` s currently available to the system that support one or more input stream formats .
&self
&self